Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1697208

objtool warnings in randconfig builds using gcc-7.1.1

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject objtool warnings in randconfig builds using gcc-7.1.1
Date Wed, 26 Jul 2017 16:30:05 +0200
Message-ID <u7vu5-1s1-101@gated-at.bofh.it> (permalink)
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=U6PLJj7YjOtUhb5g/3wxTqzRYa/nKIAy79mywqFRFu8=; b=gSFutbNQAxZoWTQ02x7QbX8F1Lh0RS/BQyXQLBa0m2Pf2jyhW0iMQ/dVymJH1cvoqE 8MGVSigW37WOmnoTrRQ5RsX1jw3ZsR+2EPm+VK0Mf8zD+R2p6RII552PfyqQagZdHVKO QOVriILb9NqsSaPIqtfasQF/CGkzGJaeGK8bcNA5VlYoIXBSxofukFS8wxIXrjYTXyFj M4lOsmub8hwcOoKP0L/J3ebpQCmyDIx2x7E6l/ysNbDMLtSs01sHgcXKw1zECaBVV+eZ pNEjFTsQvFWsawfQW7tmlBQYqfkG8u4aYlJx2NwR9AZOlr+B1JyXh2Az2XQhfxwUEtFR /BhA==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=U6PLJj7YjOtUhb5g/3wxTqzRYa/nKIAy79mywqFRFu8=; b=ju6neSS2athmf9nZdTDBN10NMfDXifcuS6kfBrcNC+HjkdZW+5KLIb8pALgP7p/UDR RuM919sPW5r4i4fymlHWvR1IMFNEz3le6iFT7soH3iek9Hbplx0lKMmHYrKaBZk+qBzG dz32QF7i/Jh3/5bpWxyqyOjeoD16druPK/EmdpRU+E/IE8O+rZy5hIJQ1jWzsPtoJrne maWW3WcoyGzRQbGakvswy2Q8IWbtZCLHM7RfvioefvXMNO5iT+8v6MryF5wPzvA6PCa4 SLb/nwZIBxstjmXsJB2PffWatl/W5gNX7xxvBapGNrPutw+Ui8DOlOpgd6pKlxsF6G2Q DV5Q==
X-Gm-Message-State AIVw110eg2gfMAeoGHj9VwAx9SUjkPhTYGvet0D4SEuT3WY0t8hFNkR/ RgtdTqqY7IqPIiWKd0/a94wz63nIU4xnvn4=
X-Received by 10.202.114.151 with SMTP id p145mr1001887oic.41.1501079264817; Wed, 26 Jul 2017 07:27:44 -0700 (PDT)
MIME-Version 1.0
X-Google-Sender-Auth b7ZAkPFOupFFzImf_y-rzLC9eZI
Content-Type text/plain; charset="UTF-8"
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 23
Organization linux.* mail to news gateway
X-Original-Cc Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
X-Original-Date Wed, 26 Jul 2017 16:27:44 +0200
X-Original-Message-ID <CAK8P3a1mF2rELoGyo+V0yuiXR7-GiZyEoEFmXFoec93_bqCEwQ@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1697208

Show key headers only | View raw


Hi Josh,

With the configuration at https://pastebin.com/jHtvCwER
and gcc-7.1.1, I get these warnings

drivers/hid/wacom_wac.o: warning: objtool: wacom_bpt3_touch()+0x2a5:
stack state mismatch: cfa1=7+8 cfa2=6+16
drivers/iio/adc/vf610_adc.o: warning: objtool:
vf610_adc_calculate_rates() falls through to next function
vf610_adc_sample_set()
drivers/pwm/pwm-hibvt.o: warning: objtool: hibvt_pwm_get_state() falls
through to next function hibvt_pwm_remove()
drivers/pwm/pwm-mediatek.o: warning: objtool: mtk_pwm_config() falls
through to next function mtk_pwm_enable()
drivers/spi/spi-bcm2835.o: warning: objtool: .text: unexpected end of section
drivers/spi/spi-bcm2835aux.o: warning: objtool: .text: unexpected end of section
drivers/watchdog/digicolor_wdt.o: warning: objtool:
dc_wdt_get_timeleft() falls through to next function dc_wdt_restart()

this seems to be related to a warning I reported in older kernels that we
never fixed, but now the output is slightly different.

       Arnd

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

objtool warnings in randconfig builds using gcc-7.1.1 Arnd Bergmann <arnd@arndb.de> - 2017-07-26 16:30 +0200

csiph-web