All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: kbuild test robot <fengguang.wu@intel.com>,
	Keno Fischer <keno@juliacomputing.com>
Cc: "kbuild-all@01.org" <kbuild-all@01.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: collect2: error: ld returned 1 exit status
Date: Mon, 21 Nov 2016 11:16:11 +0100	[thread overview]
Message-ID: <CACRpkdaYw9sY2LByZrinj-gSEdrpWyYPkrD27-5VxWgQ1DnXJw@mail.gmail.com> (raw)
In-Reply-To: <201611210418.B4mh4bGj%fengguang.wu@intel.com>

That's sad, I thought that Keno Fischer's patch in -rc6 would solve this.

Keno do you know what else could be breaking UML now?

I am pretty clueless. :(

Linus Walleij


On Sun, Nov 20, 2016 at 9:39 PM, kbuild test robot
<fengguang.wu@intel.com> wrote:
> Hi Linus,
>
> FYI, the error/warning still remains.
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   77079b133f242d3e3710c9b89ed54458307e54ff
> commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM
> date:   3 months ago
> config: um-allyesconfig (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         git checkout 2527ecc9195e9c66252af24c4689e8a67cd4ccb9
>         # save the attached .config to linux build tree
>         make ARCH=um
>
> All errors (new ones prefixed by >>):
>
>    arch/um/drivers/built-in.o: In function `vde_open_real':
>    (.text+0xc7d1): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>    arch/um/drivers/built-in.o: In function `vde_open_real':
>    (.text+0xc61c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>    arch/um/drivers/built-in.o: In function `vde_open_real':
>    (.text+0xc935): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>    arch/um/drivers/built-in.o: In function `pcap_nametoaddr':
>    (.text+0x1d3c5): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>    arch/um/drivers/built-in.o: In function `pcap_nametonetaddr':
>    (.text+0x1d465): warning: Using 'getnetbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>    arch/um/drivers/built-in.o: In function `pcap_nametoproto':
>    (.text+0x1d685): warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>    arch/um/drivers/built-in.o: In function `pcap_nametoport':
>    (.text+0x1d4b7): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>    drivers/built-in.o: In function `fwnode_get_named_gpiod':
>    drivers/gpio/gpiolib.c:3215: undefined reference to `of_get_named_gpiod_flags'
>    drivers/built-in.o: In function `gpiod_get_index':
>    drivers/gpio/gpiolib.c:3140: undefined reference to `of_get_named_gpiod_flags'
>    drivers/built-in.o: In function `lp872x_probe':
>    drivers/regulator/lp872x.c:773: undefined reference to `devm_gpio_request_one'
>    drivers/regulator/lp872x.c:746: undefined reference to `devm_gpio_request_one'
>    drivers/built-in.o: In function `max8952_pmic_probe':
>    drivers/regulator/max8952.c:249: undefined reference to `devm_gpio_request_one'
>    drivers/built-in.o: In function `max8973_probe':
>    drivers/regulator/max8973-regulator.c:715: undefined reference to `devm_gpio_request_one'
>    drivers/regulator/max8973-regulator.c:770: undefined reference to `devm_gpio_request_one'
>    drivers/built-in.o: In function `pwm_regulator_probe':
>    drivers/regulator/pwm-regulator.c:387: undefined reference to `devm_gpiod_get_optional'
>    drivers/built-in.o: In function `tps62360_probe':
>    drivers/regulator/tps62360-regulator.c:433: undefined reference to `devm_gpio_request_one'
>    drivers/regulator/tps62360-regulator.c:444: undefined reference to `devm_gpio_request_one'
>    drivers/built-in.o: In function `fdp_nci_i2c_probe':
>    drivers/nfc/fdp/i2c.c:326: undefined reference to `devm_gpiod_get'
>    drivers/built-in.o: In function `nfcmrvl_nci_unregister_dev':
>    drivers/nfc/nfcmrvl/main.c:198: undefined reference to `devm_gpio_free'
>    drivers/built-in.o: In function `nfcmrvl_nci_register_dev':
>    drivers/nfc/nfcmrvl/main.c:127: undefined reference to `devm_gpio_request_one'
>    drivers/built-in.o: In function `st21nfca_hci_i2c_probe':
>    drivers/nfc/st21nfca/i2c.c:597: undefined reference to `devm_gpio_request_one'
>    drivers/built-in.o: In function `st_nci_i2c_probe':
>    drivers/nfc/st-nci/i2c.c:300: undefined reference to `devm_gpio_request_one'
>    drivers/built-in.o: In function `nxp_nci_i2c_probe':
>    drivers/nfc/nxp-nci/i2c.c:361: undefined reference to `devm_gpio_request_one'
>    drivers/built-in.o: In function `mdio_gpio_probe':
>    drivers/net/phy/mdio-gpio.c:177: undefined reference to `devm_gpio_request'
>    drivers/built-in.o: In function `at803x_probe':
>    drivers/net/phy/at803x.c:283: undefined reference to `devm_gpiod_get_optional'
>    drivers/built-in.o: In function `mv88e6xxx_probe':
>    drivers/net/dsa/mv88e6xxx/chip.c:4022: undefined reference to `devm_gpiod_get_optional'
>    drivers/built-in.o: In function `pps_gpio_probe':
>    drivers/pps/clients/pps-gpio.c:125: undefined reference to `devm_gpio_request'
>    drivers/built-in.o: In function `max8903_probe':
>    drivers/power/max8903_charger.c:248: undefined reference to `devm_gpio_request'
>    drivers/power/max8903_charger.c:280: undefined reference to `devm_gpio_request'
>    drivers/power/max8903_charger.c:243: undefined reference to `devm_gpio_request'
>    drivers/built-in.o: In function `bq24257_probe':
>    drivers/power/bq24257_charger.c:876: undefined reference to `devm_gpiod_get_optional'
>    drivers/built-in.o: In function `bq24735_charger_probe':
>    drivers/power/bq24735-charger.c:396: undefined reference to `devm_gpio_request'
>    drivers/built-in.o: In function `bq25890_probe':
>    drivers/power/bq25890_charger.c:726: undefined reference to `devm_gpiod_get_index'
>    drivers/built-in.o: In function `intel_probe':
>    drivers/bluetooth/hci_intel.c:1199: undefined reference to `devm_gpiod_get'
>    drivers/built-in.o: In function `create_gpio_led':
>    drivers/leds/leds-gpio.c:101: undefined reference to `devm_gpio_request_one'
>    drivers/built-in.o: In function `gpio_led_probe':
>    drivers/leds/leds-gpio.c:172: undefined reference to `devm_get_gpiod_from_child'
>    drivers/built-in.o: In function `lp55xx_init_device':
>    drivers/leds/leds-lp55xx-common.c:402: undefined reference to `devm_gpio_request_one'
>    drivers/built-in.o: In function `lp8860_probe':
>    drivers/leds/leds-lp8860.c:383: undefined reference to `devm_gpiod_get_optional'
>    drivers/built-in.o: In function `lt3593_led_probe':
>    drivers/leds/leds-lt3593.c:98: undefined reference to `devm_gpio_request_one'
>    drivers/built-in.o: In function `ktd2692_probe':
>    drivers/leds/leds-ktd2692.c:272: undefined reference to `devm_gpiod_get'
>    drivers/built-in.o: In function `gpio_extcon_probe':
>    drivers/extcon/extcon-gpio.c:69: undefined reference to `devm_gpio_request_one'
>    drivers/built-in.o: In function `max3355_probe':
>    drivers/extcon/extcon-max3355.c:68: undefined reference to `devm_gpiod_get'
>    drivers/built-in.o: In function `usb_extcon_probe':
>    drivers/extcon/extcon-usb-gpio.c:104: undefined reference to `devm_gpiod_get'
>    drivers/built-in.o: In function `mma9551_probe':
>    drivers/iio/accel/mma9551.c:421: undefined reference to `devm_gpiod_get_index'
>    drivers/built-in.o: In function `ad5592r_probe':
>    drivers/iio/dac/ad5592r-base.c:163: undefined reference to `devm_gpiod_get_optional'
>    drivers/built-in.o: In function `ak8975_probe':
>    drivers/iio/magnetometer/ak8975.c:886: undefined reference to `devm_gpio_request_one'
>    drivers/built-in.o: In function `bmp280_common_probe':
>    drivers/iio/pressure/bmp280-core.c:985: undefined reference to `devm_gpiod_get'
>    drivers/built-in.o: In function `hp03_probe':
>    drivers/iio/pressure/hp03.c:238: undefined reference to `devm_gpiod_get_index'
>    drivers/built-in.o: In function `sx9500_probe':
>    drivers/iio/proximity/sx9500.c:877: undefined reference to `devm_gpiod_get_index'
>    net/built-in.o: In function `rfkill_gpio_probe':
>    net/rfkill/rfkill-gpio.c:115: undefined reference to `devm_gpiod_get_optional'
>    `.text.exit' referenced in section `.fini_array' of /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libc.a(sdlerror.o): defined in discarded section `.text.exit' of /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libc.a(sdlerror.o)
>>> collect2: error: ld returned 1 exit status
>
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

  reply	other threads:[~2016-11-21 10:16 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-20 20:39 collect2: error: ld returned 1 exit status kbuild test robot
2016-11-21 10:16 ` Linus Walleij [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-29 21:57 kernel test robot
2022-01-29 21:57 ` kernel test robot
2022-01-25 19:17 kernel test robot
2022-01-25 19:17 ` kernel test robot
2021-09-11 19:31 kernel test robot
2021-09-11 19:31 ` kernel test robot
2021-07-20 19:27 kernel test robot
2021-07-20 19:27 ` kernel test robot
2021-07-05  2:19 kernel test robot
2021-07-05  2:19 ` kernel test robot
2021-05-31 12:45 kernel test robot
2021-05-31 12:45 ` kernel test robot
2021-05-29 19:48 kernel test robot
2021-05-29 19:48 ` kernel test robot
2021-05-16 23:06 kernel test robot
2021-05-16 23:06 ` kernel test robot
2021-04-10 19:46 kernel test robot
2021-04-10 19:46 ` kernel test robot
2021-03-07 17:24 kernel test robot
2021-03-07 17:24 ` kernel test robot
2021-03-03 21:22 kernel test robot
2021-03-03 21:22 ` kernel test robot
2019-05-31  6:18 kbuild test robot
2017-02-12  4:37 kbuild test robot
2017-01-01 19:08 kbuild test robot
2016-12-11 10:05 kbuild test robot
2016-09-11  2:06 kbuild test robot
2016-04-16 23:50 kbuild test robot
2016-04-03  0:46 kbuild test robot
2016-03-12 23:33 kbuild test robot
2016-03-05 23:34 kbuild test robot
2016-02-27 23:12 kbuild test robot
2016-01-16 23:31 kbuild test robot
2015-12-05 23:55 kbuild test robot
2015-11-22  1:05 kbuild test robot
2015-11-23  9:54 ` Michael Ellerman
2015-11-23 12:45   ` Fengguang Wu
2015-10-10 23:32 kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACRpkdaYw9sY2LByZrinj-gSEdrpWyYPkrD27-5VxWgQ1DnXJw@mail.gmail.com \
    --to=linus.walleij@linaro.org \
    --cc=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=keno@juliacomputing.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.