LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* collect2: error: ld returned 1 exit status
@ 2021-07-20 19:27 kernel test robot
0 siblings, 0 replies; 29+ messages in thread
From: kernel test robot @ 2021-07-20 19:27 UTC (permalink / raw)
To: Alexei Starovoitov; +Cc: kbuild-all, linux-kernel, Daniel Borkmann
[-- Attachment #1: Type: text/plain, Size: 1887 bytes --]
Hi Alexei,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b
commit: d71fa5c9763c24dd997a2fa4feb7a13a95bab42c bpf: Add kernel module with user mode driver that populates bpffs.
date: 11 months ago
config: i386-randconfig-a001-20210720 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.a when searching for -lelf
/usr/bin/ld: cannot find -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
>> collect2: error: ld returned 1 exit status
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34946 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2022-01-29 21:57 kernel test robot
0 siblings, 0 replies; 29+ messages in thread
From: kernel test robot @ 2022-01-29 21:57 UTC (permalink / raw)
To: Alexei Starovoitov; +Cc: kbuild-all, linux-kernel, Daniel Borkmann
Hi Alexei,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: cb323ee75d24e7acc2f188d123ba6df46159cf09
commit: d71fa5c9763c24dd997a2fa4feb7a13a95bab42c bpf: Add kernel module with user mode driver that populates bpffs.
date: 1 year, 5 months ago
config: i386-randconfig-m021 (https://download.01.org/0day-ci/archive/20220130/202201300518.Q1ZGEJYY-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.a when searching for -lelf
/usr/bin/ld: cannot find -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
>> collect2: error: ld returned 1 exit status
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2022-01-25 19:17 kernel test robot
0 siblings, 0 replies; 29+ messages in thread
From: kernel test robot @ 2022-01-25 19:17 UTC (permalink / raw)
To: Mark Brown; +Cc: kbuild-all, linux-kernel, Borislav Petkov, Miroslav Benes
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a08b41ab9e2e468647f78eb17c28e29b93006394
commit: b18adee4ce4443399963826b5d28d9e63d40740c stacktrace: Move documentation for arch_stack_walk_reliable() to header
date: 11 months ago
config: x86_64-rhel-8.3-kselftests (https://download.01.org/0day-ci/archive/20220126/202201260016.WjRQsceW-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b18adee4ce4443399963826b5d28d9e63d40740c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout b18adee4ce4443399963826b5d28d9e63d40740c
# save the config file to linux build tree
make W=1 ARCH=x86_64 SHELL=/bin/bash tools/all
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: virtio_ring.o: in function `spin_lock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
/usr/bin/ld: virtio_ring.o: in function `spin_unlock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
/usr/bin/ld: virtio_ring.o: in function `spin_lock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
/usr/bin/ld: virtio_ring.o: in function `spin_unlock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
/usr/bin/ld: virtio_ring.o: in function `spin_lock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
/usr/bin/ld: virtio_ring.o: in function `spin_unlock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
/usr/bin/ld: virtio_ring.o: in function `spin_lock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
/usr/bin/ld: virtio_ring.o: in function `spin_unlock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
>> collect2: error: ld returned 1 exit status
make[3]: *** [<builtin>: virtio_test] Error 1
make[3]: *** Waiting for unfinished jobs....
/usr/bin/ld: virtio_ring.o: in function `spin_lock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
/usr/bin/ld: virtio_ring.o: in function `spin_unlock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
/usr/bin/ld: virtio_ring.o: in function `spin_lock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
/usr/bin/ld: virtio_ring.o: in function `spin_unlock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
/usr/bin/ld: virtio_ring.o: in function `spin_lock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
/usr/bin/ld: virtio_ring.o: in function `spin_unlock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
/usr/bin/ld: virtio_ring.o: in function `spin_lock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:16: undefined reference to `pthread_spin_lock'
/usr/bin/ld: virtio_ring.o: in function `spin_unlock':
/kbuild/worktree/build-ktools-consumer/tools/virtio/./linux/spinlock.h:22: undefined reference to `pthread_spin_unlock'
>> collect2: error: ld returned 1 exit status
make[3]: *** [<builtin>: vringh_test] Error 1
***
*** The source tree is not clean, please run 'make mrproper'
*** in /kbuild/worktree/build-ktools-consumer
***
make[5]: *** [/kbuild/worktree/build-ktools-consumer/Makefile:573: outputmakefile] Error 1
make[4]: *** [Makefile:732: include/config/auto.conf.cmd] Error 2
make[3]: *** [Makefile:11: mod] Error 2
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2021-09-11 19:31 kernel test robot
0 siblings, 0 replies; 29+ messages in thread
From: kernel test robot @ 2021-09-11 19:31 UTC (permalink / raw)
To: Alexei Starovoitov; +Cc: kbuild-all, linux-kernel, Daniel Borkmann
[-- Attachment #1: Type: text/plain, Size: 1878 bytes --]
Hi Alexei,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c605c39677b9842b0566013e0cf30bc13e90bdbc
commit: d71fa5c9763c24dd997a2fa4feb7a13a95bab42c bpf: Add kernel module with user mode driver that populates bpffs.
date: 1 year, 1 month ago
config: i386-randconfig-a013-20210910 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.a when searching for -lelf
/usr/bin/ld: cannot find -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
>> collect2: error: ld returned 1 exit status
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 26133 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2021-07-05 2:19 kernel test robot
0 siblings, 0 replies; 29+ messages in thread
From: kernel test robot @ 2021-07-05 2:19 UTC (permalink / raw)
To: Alexei Starovoitov; +Cc: kbuild-all, linux-kernel, Daniel Borkmann
[-- Attachment #1: Type: text/plain, Size: 1882 bytes --]
Hi Alexei,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a180bd1d7e16173d965b263c5a536aa40afa2a2a
commit: d71fa5c9763c24dd997a2fa4feb7a13a95bab42c bpf: Add kernel module with user mode driver that populates bpffs.
date: 11 months ago
config: i386-buildonly-randconfig-r001-20210705 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.a when searching for -lelf
/usr/bin/ld: cannot find -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
>> collect2: error: ld returned 1 exit status
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27390 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2021-05-31 12:45 kernel test robot
0 siblings, 0 replies; 29+ messages in thread
From: kernel test robot @ 2021-05-31 12:45 UTC (permalink / raw)
To: Nathan Chancellor
Cc: kbuild-all, linux-kernel, Kees Cook, Fangrui Song, Nick Desaulniers
[-- Attachment #1: Type: text/plain, Size: 1480 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8124c8a6b35386f73523d27eacb71b5364a68c4c
commit: f5b6a74d9c08b19740ca056876bf6584acdba582 vmlinux.lds.h: Define SANTIZER_DISCARDS with CONFIG_GCOV_KERNEL=y
date: 3 months ago
config: um-randconfig-r016-20210531 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f5b6a74d9c08b19740ca056876bf6584acdba582
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout f5b6a74d9c08b19740ca056876bf6584acdba582
# save the attached .config to linux build tree
make W=1 ARCH=um
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
`.eh_frame' referenced in section `.text' of /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginT.o: defined in discarded section `.eh_frame' of /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginT.o
`.eh_frame' referenced in section `.text' of /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginT.o: defined in discarded section `.eh_frame' of /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginT.o
>> collect2: error: ld returned 1 exit status
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 8875 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2021-05-29 19:48 kernel test robot
0 siblings, 0 replies; 29+ messages in thread
From: kernel test robot @ 2021-05-29 19:48 UTC (permalink / raw)
To: Alexei Starovoitov; +Cc: kbuild-all, linux-kernel, Daniel Borkmann
[-- Attachment #1: Type: text/plain, Size: 1820 bytes --]
Hi Alexei,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6799d4f2da496cab9b3fd26283a8ce3639b1a88d
commit: d71fa5c9763c24dd997a2fa4feb7a13a95bab42c bpf: Add kernel module with user mode driver that populates bpffs.
date: 9 months ago
config: i386-randconfig-c021-20210529 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.a when searching for -lelf
/usr/bin/ld: cannot find -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
>> collect2: error: ld returned 1 exit status
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 26722 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2021-05-16 23:06 kernel test robot
0 siblings, 0 replies; 29+ messages in thread
From: kernel test robot @ 2021-05-16 23:06 UTC (permalink / raw)
To: Alexei Starovoitov; +Cc: kbuild-all, linux-kernel, Daniel Borkmann
[-- Attachment #1: Type: text/plain, Size: 1824 bytes --]
Hi Alexei,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 28183dbf54edba614a90ceb6a1e9464b27845309
commit: d71fa5c9763c24dd997a2fa4feb7a13a95bab42c bpf: Add kernel module with user mode driver that populates bpffs.
date: 9 months ago
config: i386-randconfig-r002-20210517 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
# save the attached .config to linux build tree
make W=1 W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.a when searching for -lelf
/usr/bin/ld: cannot find -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
>> collect2: error: ld returned 1 exit status
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33997 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2021-04-10 19:46 kernel test robot
0 siblings, 0 replies; 29+ messages in thread
From: kernel test robot @ 2021-04-10 19:46 UTC (permalink / raw)
To: Alexei Starovoitov; +Cc: kbuild-all, linux-kernel, Daniel Borkmann
[-- Attachment #1: Type: text/plain, Size: 1820 bytes --]
Hi Alexei,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 95c7b07551879c8ad4d6dca10c02de46ddbf55a8
commit: d71fa5c9763c24dd997a2fa4feb7a13a95bab42c bpf: Add kernel module with user mode driver that populates bpffs.
date: 8 months ago
config: i386-randconfig-m021-20210411 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.a when searching for -lelf
/usr/bin/ld: cannot find -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
>> collect2: error: ld returned 1 exit status
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34702 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2021-03-07 17:24 kernel test robot
0 siblings, 0 replies; 29+ messages in thread
From: kernel test robot @ 2021-03-07 17:24 UTC (permalink / raw)
To: Alexei Starovoitov; +Cc: kbuild-all, linux-kernel, Daniel Borkmann
[-- Attachment #1: Type: text/plain, Size: 1820 bytes --]
Hi Alexei,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a38fd8748464831584a19438cbb3082b5a2dab15
commit: d71fa5c9763c24dd997a2fa4feb7a13a95bab42c bpf: Add kernel module with user mode driver that populates bpffs.
date: 7 months ago
config: i386-randconfig-r005-20210307 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.a when searching for -lelf
/usr/bin/ld: cannot find -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
>> collect2: error: ld returned 1 exit status
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29352 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2021-03-03 21:22 kernel test robot
0 siblings, 0 replies; 29+ messages in thread
From: kernel test robot @ 2021-03-03 21:22 UTC (permalink / raw)
To: Alexei Starovoitov; +Cc: kbuild-all, linux-kernel, Daniel Borkmann
[-- Attachment #1: Type: text/plain, Size: 1769 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f69d02e37a85645aa90d18cacfff36dba370f797
commit: d71fa5c9763c24dd997a2fa4feb7a13a95bab42c bpf: Add kernel module with user mode driver that populates bpffs.
date: 7 months ago
config: i386-randconfig-a002-20210303 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d71fa5c9763c24dd997a2fa4feb7a13a95bab42c
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.a when searching for -lelf
/usr/bin/ld: cannot find -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libelf.so when searching for -lelf
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libz.so when searching for -lz
>> collect2: error: ld returned 1 exit status
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32577 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2019-05-31 6:18 kbuild test robot
0 siblings, 0 replies; 29+ messages in thread
From: kbuild test robot @ 2019-05-31 6:18 UTC (permalink / raw)
To: Patrick Havelange
Cc: kbuild-all, linux-kernel, Greg Kroah-Hartman, William Breathitt Gray
[-- Attachment #1: Type: text/plain, Size: 2598 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 318adf8e4bfdcb0bce1833824564b1f24278927b
commit: a3b9a99980d9fa01f6c18c359cf503b874f183de counter: add FlexTimer Module Quadrature decoder counter driver
date: 5 weeks ago
config: um-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
git checkout a3b9a99980d9fa01f6c18c359cf503b874f183de
# save the attached .config to linux build tree
make ARCH=um
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
/usr/bin/ld: arch/um/drivers/vde.o: in function `vde_open_real':
(.text+0x951): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: (.text+0x79c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: arch/um/drivers/vector_user.o: in function `user_init_socket_fds':
vector_user.c:(.text+0x349): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: arch/um/drivers/pcap.o: in function `pcap_nametoaddr':
(.text+0xded5): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: arch/um/drivers/pcap.o: in function `pcap_nametonetaddr':
(.text+0xdf75): warning: Using 'getnetbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: arch/um/drivers/pcap.o: in function `pcap_nametoproto':
(.text+0xe195): warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: arch/um/drivers/pcap.o: in function `pcap_nametoport':
(.text+0xdfc7): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: drivers/counter/ftm-quaddec.o: in function `ftm_quaddec_probe':
ftm-quaddec.c:(.text+0x5bb): undefined reference to `devm_ioremap'
>> 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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 20529 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2017-02-12 4:37 kbuild test robot
0 siblings, 0 replies; 29+ messages in thread
From: kbuild test robot @ 2017-02-12 4:37 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 8274 bytes --]
Hi Linus,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1ce42845f987e92eabfc6e026d44d826c25c74a5
commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM
date: 6 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+0xc781): 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+0xc5cc): 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+0xc8e5): 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+0x1d375): 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+0x1d415): 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+0x1d635): 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+0x1d467): 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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 18059 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2017-01-01 19:08 kbuild test robot
0 siblings, 0 replies; 29+ messages in thread
From: kbuild test robot @ 2017-01-01 19:08 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 8274 bytes --]
Hi Linus,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 238d1d0f79f619d75c2cc741d6770fb0986aef24
commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM
date: 5 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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 18048 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2016-12-11 10:05 kbuild test robot
0 siblings, 0 replies; 29+ messages in thread
From: kbuild test robot @ 2016-12-11 10:05 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 8274 bytes --]
Hi Linus,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 045169816b31b10faed984b01c390db1b32ee4c1
commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM
date: 4 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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 18041 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: collect2: error: ld returned 1 exit status
2016-11-20 20:39 kbuild test robot
@ 2016-11-21 10:16 ` Linus Walleij
0 siblings, 0 replies; 29+ messages in thread
From: Linus Walleij @ 2016-11-21 10:16 UTC (permalink / raw)
To: kbuild test robot, Keno Fischer; +Cc: kbuild-all, linux-kernel
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
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2016-11-20 20:39 kbuild test robot
2016-11-21 10:16 ` Linus Walleij
0 siblings, 1 reply; 29+ messages in thread
From: kbuild test robot @ 2016-11-20 20:39 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 8274 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 18039 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2016-09-11 2:06 kbuild test robot
0 siblings, 0 replies; 29+ messages in thread
From: kbuild test robot @ 2016-09-11 2:06 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2968 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 98ac9a608dc79ba8a20cee77fe959a6dfccdaa63
commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM
date: 3 weeks ago
config: um-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
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 `zx_gpio_probe':
drivers/gpio/gpio-zx.c:229: undefined reference to `devm_ioremap_resource'
`.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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 18212 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2016-04-16 23:50 kbuild test robot
0 siblings, 0 replies; 29+ messages in thread
From: kbuild test robot @ 2016-04-16 23:50 UTC (permalink / raw)
To: Anton Blanchard; +Cc: kbuild-all, linux-kernel, Michael Ellerman
[-- Attachment #1: Type: text/plain, Size: 5390 bytes --]
Hi Anton,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 306a63bee192859ebd32c7328c7766636d882d8f
commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc specific options on clang
date: 10 months ago
config: powerpc-powernv_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 238abecde8ad43f914e095fcf23e0bd35dc7a7f2
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/sigtramp.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/sigtramp.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/gettimeofday.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/gettimeofday.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/datapage.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/datapage.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/cacheflush.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/cacheflush.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/note.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/note.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/getcpu.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/getcpu.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[0] FDE at 00000000000004c4 overlaps table[1] FDE at 0000000000000c30.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[1] FDE at 0000000000000c30 overlaps table[2] FDE at 0000000000000c88.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[2] FDE at 0000000000000c88 overlaps table[3] FDE at 0000000000000ca0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[3] FDE at 0000000000000ca0 overlaps table[4] FDE at 0000000000000cb8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[4] FDE at 0000000000000cb8 overlaps table[5] FDE at 0000000000000cd0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[5] FDE at 0000000000000cd0 overlaps table[6] FDE at 0000000000000864.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[7] FDE at 0000000000000c48 overlaps table[8] FDE at 0000000000000c5c.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[8] FDE at 0000000000000c5c overlaps table[9] FDE at 0000000000000c18.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[9] FDE at 0000000000000c18 overlaps table[10] FDE at 0000000000000c74.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[10] FDE at 0000000000000c74 overlaps table[11] FDE at 0000000000000ce8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[11] FDE at 0000000000000ce8 overlaps table[12] FDE at 0000000000000cfc.
>> collect2: error: ld returned 1 exit status
--
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso64/sigtramp.o: file class ELFCLASS64 incompatible with ELFCLASS32
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: final link failed: File in wrong format
>> 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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 19545 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2016-04-03 0:46 kbuild test robot
0 siblings, 0 replies; 29+ messages in thread
From: kbuild test robot @ 2016-04-03 0:46 UTC (permalink / raw)
To: Anton Blanchard; +Cc: kbuild-all, linux-kernel, Michael Ellerman
[-- Attachment #1: Type: text/plain, Size: 5382 bytes --]
Hi Anton,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d6c24df08255e24dbd19b52dd322f61fbc30b11d
commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc specific options on clang
date: 10 months ago
config: powerpc-defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 238abecde8ad43f914e095fcf23e0bd35dc7a7f2
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/sigtramp.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/sigtramp.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/gettimeofday.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/gettimeofday.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/datapage.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/datapage.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/cacheflush.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/cacheflush.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/note.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/note.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/getcpu.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/getcpu.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[0] FDE at 00000000000004c4 overlaps table[1] FDE at 0000000000000c30.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[1] FDE at 0000000000000c30 overlaps table[2] FDE at 0000000000000c88.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[2] FDE at 0000000000000c88 overlaps table[3] FDE at 0000000000000ca0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[3] FDE at 0000000000000ca0 overlaps table[4] FDE at 0000000000000cb8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[4] FDE at 0000000000000cb8 overlaps table[5] FDE at 0000000000000cd0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[5] FDE at 0000000000000cd0 overlaps table[6] FDE at 0000000000000864.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[7] FDE at 0000000000000c48 overlaps table[8] FDE at 0000000000000c5c.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[8] FDE at 0000000000000c5c overlaps table[9] FDE at 0000000000000c18.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[9] FDE at 0000000000000c18 overlaps table[10] FDE at 0000000000000c74.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[10] FDE at 0000000000000c74 overlaps table[11] FDE at 0000000000000ce8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[11] FDE at 0000000000000ce8 overlaps table[12] FDE at 0000000000000cfc.
>> collect2: error: ld returned 1 exit status
--
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso64/sigtramp.o: file class ELFCLASS64 incompatible with ELFCLASS32
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: final link failed: File in wrong format
>> 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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 20849 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2016-03-12 23:33 kbuild test robot
0 siblings, 0 replies; 29+ messages in thread
From: kbuild test robot @ 2016-03-12 23:33 UTC (permalink / raw)
To: Anton Blanchard; +Cc: kbuild-all, linux-kernel, Michael Ellerman
[-- Attachment #1: Type: text/plain, Size: 5381 bytes --]
Hi Anton,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 03c668a93187fe7fba9464f96fbe7c22eebd9897
commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc specific options on clang
date: 9 months ago
config: powerpc-defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 238abecde8ad43f914e095fcf23e0bd35dc7a7f2
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/sigtramp.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/sigtramp.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/gettimeofday.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/gettimeofday.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/datapage.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/datapage.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/cacheflush.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/cacheflush.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/note.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/note.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/getcpu.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/getcpu.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[0] FDE at 00000000000004c4 overlaps table[1] FDE at 0000000000000c30.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[1] FDE at 0000000000000c30 overlaps table[2] FDE at 0000000000000c88.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[2] FDE at 0000000000000c88 overlaps table[3] FDE at 0000000000000ca0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[3] FDE at 0000000000000ca0 overlaps table[4] FDE at 0000000000000cb8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[4] FDE at 0000000000000cb8 overlaps table[5] FDE at 0000000000000cd0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[5] FDE at 0000000000000cd0 overlaps table[6] FDE at 0000000000000864.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[7] FDE at 0000000000000c48 overlaps table[8] FDE at 0000000000000c5c.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[8] FDE at 0000000000000c5c overlaps table[9] FDE at 0000000000000c18.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[9] FDE at 0000000000000c18 overlaps table[10] FDE at 0000000000000c74.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[10] FDE at 0000000000000c74 overlaps table[11] FDE at 0000000000000ce8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[11] FDE at 0000000000000ce8 overlaps table[12] FDE at 0000000000000cfc.
>> collect2: error: ld returned 1 exit status
--
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso64/sigtramp.o: file class ELFCLASS64 incompatible with ELFCLASS32
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: final link failed: File in wrong format
>> 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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 20849 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2016-03-05 23:34 kbuild test robot
0 siblings, 0 replies; 29+ messages in thread
From: kbuild test robot @ 2016-03-05 23:34 UTC (permalink / raw)
To: Anton Blanchard; +Cc: kbuild-all, linux-kernel, Michael Ellerman
[-- Attachment #1: Type: text/plain, Size: 5381 bytes --]
Hi Anton,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a7c9b603cf2371edacb054abc35597e810c1e5fd
commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc specific options on clang
date: 9 months ago
config: powerpc-defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 238abecde8ad43f914e095fcf23e0bd35dc7a7f2
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/sigtramp.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/sigtramp.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/gettimeofday.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/gettimeofday.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/datapage.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/datapage.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/cacheflush.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/cacheflush.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/note.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/note.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/getcpu.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/getcpu.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[0] FDE at 00000000000004c4 overlaps table[1] FDE at 0000000000000c30.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[1] FDE at 0000000000000c30 overlaps table[2] FDE at 0000000000000c88.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[2] FDE at 0000000000000c88 overlaps table[3] FDE at 0000000000000ca0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[3] FDE at 0000000000000ca0 overlaps table[4] FDE at 0000000000000cb8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[4] FDE at 0000000000000cb8 overlaps table[5] FDE at 0000000000000cd0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[5] FDE at 0000000000000cd0 overlaps table[6] FDE at 0000000000000864.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[7] FDE at 0000000000000c48 overlaps table[8] FDE at 0000000000000c5c.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[8] FDE at 0000000000000c5c overlaps table[9] FDE at 0000000000000c18.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[9] FDE at 0000000000000c18 overlaps table[10] FDE at 0000000000000c74.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[10] FDE at 0000000000000c74 overlaps table[11] FDE at 0000000000000ce8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[11] FDE at 0000000000000ce8 overlaps table[12] FDE at 0000000000000cfc.
>> collect2: error: ld returned 1 exit status
--
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso64/sigtramp.o: file class ELFCLASS64 incompatible with ELFCLASS32
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: final link failed: File in wrong format
>> 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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 20849 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2016-02-27 23:12 kbuild test robot
0 siblings, 0 replies; 29+ messages in thread
From: kbuild test robot @ 2016-02-27 23:12 UTC (permalink / raw)
To: Anton Blanchard; +Cc: kbuild-all, linux-kernel, Michael Ellerman
[-- Attachment #1: Type: text/plain, Size: 5208 bytes --]
Hi Anton,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 691429e13dfaf5b0994b07cc166db41bd608ee3d
commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc specific options on clang
date: 9 months ago
config: powerpc-ppc64e_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 238abecde8ad43f914e095fcf23e0bd35dc7a7f2
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/sigtramp.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/sigtramp.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/gettimeofday.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/gettimeofday.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/datapage.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/datapage.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/cacheflush.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/cacheflush.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/note.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/note.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/getcpu.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/getcpu.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[0] FDE at 00000000000009f8 overlaps table[1] FDE at 0000000000000a54.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[1] FDE at 0000000000000a54 overlaps table[2] FDE at 0000000000000ac8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[2] FDE at 0000000000000ac8 overlaps table[3] FDE at 0000000000000adc.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[3] FDE at 0000000000000adc overlaps table[4] FDE at 00000000000004c4.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[5] FDE at 0000000000000a10 overlaps table[6] FDE at 0000000000000a68.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[6] FDE at 0000000000000a68 overlaps table[7] FDE at 0000000000000a80.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[7] FDE at 0000000000000a80 overlaps table[8] FDE at 0000000000000a98.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[8] FDE at 0000000000000a98 overlaps table[9] FDE at 0000000000000ab0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[9] FDE at 0000000000000ab0 overlaps table[10] FDE at 0000000000000754.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[11] FDE at 0000000000000a28 overlaps table[12] FDE at 0000000000000a3c.
>> collect2: error: ld returned 1 exit status
--
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso64/sigtramp.o: file class ELFCLASS64 incompatible with ELFCLASS32
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: final link failed: File in wrong format
>> 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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 19343 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2016-01-16 23:31 kbuild test robot
0 siblings, 0 replies; 29+ messages in thread
From: kbuild test robot @ 2016-01-16 23:31 UTC (permalink / raw)
To: Anton Blanchard; +Cc: kbuild-all, linux-kernel, Michael Ellerman
[-- Attachment #1: Type: text/plain, Size: 5385 bytes --]
Hi Anton,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ece6267878aed4eadff766112f1079984315d8c8
commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc specific options on clang
date: 7 months ago
config: powerpc-ps3_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 238abecde8ad43f914e095fcf23e0bd35dc7a7f2
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/sigtramp.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/sigtramp.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/gettimeofday.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/gettimeofday.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/datapage.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/datapage.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/cacheflush.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/cacheflush.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/note.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/note.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/getcpu.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/getcpu.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[0] FDE at 00000000000004c4 overlaps table[1] FDE at 0000000000000c30.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[1] FDE at 0000000000000c30 overlaps table[2] FDE at 0000000000000c88.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[2] FDE at 0000000000000c88 overlaps table[3] FDE at 0000000000000ca0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[3] FDE at 0000000000000ca0 overlaps table[4] FDE at 0000000000000cb8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[4] FDE at 0000000000000cb8 overlaps table[5] FDE at 0000000000000cd0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[5] FDE at 0000000000000cd0 overlaps table[6] FDE at 0000000000000864.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[7] FDE at 0000000000000c48 overlaps table[8] FDE at 0000000000000c5c.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[8] FDE at 0000000000000c5c overlaps table[9] FDE at 0000000000000c18.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[9] FDE at 0000000000000c18 overlaps table[10] FDE at 0000000000000c74.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[10] FDE at 0000000000000c74 overlaps table[11] FDE at 0000000000000ce8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[11] FDE at 0000000000000ce8 overlaps table[12] FDE at 0000000000000cfc.
>> collect2: error: ld returned 1 exit status
--
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso64/sigtramp.o: file class ELFCLASS64 incompatible with ELFCLASS32
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: final link failed: File in wrong format
>> 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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 13122 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2015-12-05 23:55 kbuild test robot
0 siblings, 0 replies; 29+ messages in thread
From: kbuild test robot @ 2015-12-05 23:55 UTC (permalink / raw)
To: Anton Blanchard; +Cc: kbuild-all, linux-kernel, Michael Ellerman
[-- Attachment #1: Type: text/plain, Size: 5384 bytes --]
Hi Anton,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9cfe5212745a41fbe7cba1a74289f5c66fc45c1f
commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc specific options on clang
date: 6 months ago
config: powerpc-g5_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 238abecde8ad43f914e095fcf23e0bd35dc7a7f2
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/sigtramp.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/sigtramp.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/gettimeofday.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/gettimeofday.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/datapage.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/datapage.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/cacheflush.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/cacheflush.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/note.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/note.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/getcpu.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/getcpu.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[0] FDE at 00000000000004c4 overlaps table[1] FDE at 0000000000000c30.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[1] FDE at 0000000000000c30 overlaps table[2] FDE at 0000000000000c88.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[2] FDE at 0000000000000c88 overlaps table[3] FDE at 0000000000000ca0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[3] FDE at 0000000000000ca0 overlaps table[4] FDE at 0000000000000cb8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[4] FDE at 0000000000000cb8 overlaps table[5] FDE at 0000000000000cd0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[5] FDE at 0000000000000cd0 overlaps table[6] FDE at 0000000000000864.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[7] FDE at 0000000000000c48 overlaps table[8] FDE at 0000000000000c5c.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[8] FDE at 0000000000000c5c overlaps table[9] FDE at 0000000000000c18.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[9] FDE at 0000000000000c18 overlaps table[10] FDE at 0000000000000c74.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[10] FDE at 0000000000000c74 overlaps table[11] FDE at 0000000000000ce8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[11] FDE at 0000000000000ce8 overlaps table[12] FDE at 0000000000000cfc.
>> collect2: error: ld returned 1 exit status
--
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso64/sigtramp.o: file class ELFCLASS64 incompatible with ELFCLASS32
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: final link failed: File in wrong format
>> 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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 18184 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: collect2: error: ld returned 1 exit status
2015-11-23 9:54 ` Michael Ellerman
@ 2015-11-23 12:45 ` Fengguang Wu
0 siblings, 0 replies; 29+ messages in thread
From: Fengguang Wu @ 2015-11-23 12:45 UTC (permalink / raw)
To: Michael Ellerman; +Cc: Anton Blanchard, kbuild-all, linux-kernel
Hi Michael,
On Mon, Nov 23, 2015 at 08:54:53PM +1100, Michael Ellerman wrote:
> On Sun, 2015-11-22 at 09:05 +0800, kbuild test robot wrote:
>
> > Hi Anton,
> >
> > FYI, the error/warning still remains.
>
> ...
>
> > /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso64/sigtramp.o: file class ELFCLASS64 incompatible with ELFCLASS32
> > /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: final link failed: File in wrong format
> > > > collect2: error: ld returned 1 exit status
>
> Hi Fengguang,
>
> How new is your GCC? This looks like a bug that was fixed recently (September) in GCC:
>
> https://github.com/gcc-mirror/gcc/commit/0012c439035bc1d5843e5c8e72c6c5fad357d389
I'm using Debian's cross gcc 5.2.1:
gcc-powerpc64le-linux-gnu 5.2.1-14+really5.2.1-13
It may take some time for debian to catchup up with the newer version.
Thanks,
Fengguang
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: collect2: error: ld returned 1 exit status
2015-11-22 1:05 kbuild test robot
@ 2015-11-23 9:54 ` Michael Ellerman
2015-11-23 12:45 ` Fengguang Wu
0 siblings, 1 reply; 29+ messages in thread
From: Michael Ellerman @ 2015-11-23 9:54 UTC (permalink / raw)
To: kbuild test robot, Anton Blanchard; +Cc: kbuild-all, linux-kernel
On Sun, 2015-11-22 at 09:05 +0800, kbuild test robot wrote:
> Hi Anton,
>
> FYI, the error/warning still remains.
...
> /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso64/sigtramp.o: file class ELFCLASS64 incompatible with ELFCLASS32
> /usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: final link failed: File in wrong format
> > > collect2: error: ld returned 1 exit status
Hi Fengguang,
How new is your GCC? This looks like a bug that was fixed recently (September) in GCC:
https://github.com/gcc-mirror/gcc/commit/0012c439035bc1d5843e5c8e72c6c5fad357d389
cheers
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2015-11-22 1:05 kbuild test robot
2015-11-23 9:54 ` Michael Ellerman
0 siblings, 1 reply; 29+ messages in thread
From: kbuild test robot @ 2015-11-22 1:05 UTC (permalink / raw)
To: Anton Blanchard; +Cc: kbuild-all, linux-kernel, Michael Ellerman
[-- Attachment #1: Type: text/plain, Size: 5384 bytes --]
Hi Anton,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 707b4f493e77638387f29d5ea35e383c418e710d
commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc specific options on clang
date: 5 months ago
config: powerpc-allmodconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 238abecde8ad43f914e095fcf23e0bd35dc7a7f2
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/sigtramp.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/sigtramp.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/gettimeofday.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/gettimeofday.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/datapage.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/datapage.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/cacheflush.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/cacheflush.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/note.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/note.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/getcpu.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/getcpu.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[0] FDE at 00000000000004c4 overlaps table[1] FDE at 0000000000000c30.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[1] FDE at 0000000000000c30 overlaps table[2] FDE at 0000000000000c88.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[2] FDE at 0000000000000c88 overlaps table[3] FDE at 0000000000000ca0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[3] FDE at 0000000000000ca0 overlaps table[4] FDE at 0000000000000cb8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[4] FDE at 0000000000000cb8 overlaps table[5] FDE at 0000000000000cd0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[5] FDE at 0000000000000cd0 overlaps table[6] FDE at 0000000000000864.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[7] FDE at 0000000000000c48 overlaps table[8] FDE at 0000000000000c5c.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[8] FDE at 0000000000000c5c overlaps table[9] FDE at 0000000000000c18.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[9] FDE at 0000000000000c18 overlaps table[10] FDE at 0000000000000c74.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[10] FDE at 0000000000000c74 overlaps table[11] FDE at 0000000000000ce8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[11] FDE at 0000000000000ce8 overlaps table[12] FDE at 0000000000000cfc.
>> collect2: error: ld returned 1 exit status
--
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso64/sigtramp.o: file class ELFCLASS64 incompatible with ELFCLASS32
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: final link failed: File in wrong format
>> 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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 44424 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* collect2: error: ld returned 1 exit status
@ 2015-10-10 23:32 kbuild test robot
0 siblings, 0 replies; 29+ messages in thread
From: kbuild test robot @ 2015-10-10 23:32 UTC (permalink / raw)
To: Anton Blanchard; +Cc: kbuild-all, linux-kernel, Michael Ellerman
[-- Attachment #1: Type: text/plain, Size: 5381 bytes --]
Hi Anton,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4a06c8ac2fb3ef484579ce44f9b809bd310fad48
commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc specific options on clang
date: 4 months ago
config: powerpc-defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 238abecde8ad43f914e095fcf23e0bd35dc7a7f2
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/sigtramp.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/sigtramp.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/gettimeofday.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/gettimeofday.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/datapage.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/datapage.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/cacheflush.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/cacheflush.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/note.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/note.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso32/getcpu.o: compiled for a little endian system and target is big endian
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: failed to merge target specific data of file arch/powerpc/kernel/vdso32/getcpu.o
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[0] FDE at 00000000000004c4 overlaps table[1] FDE at 0000000000000c30.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[1] FDE at 0000000000000c30 overlaps table[2] FDE at 0000000000000c88.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[2] FDE at 0000000000000c88 overlaps table[3] FDE at 0000000000000ca0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[3] FDE at 0000000000000ca0 overlaps table[4] FDE at 0000000000000cb8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[4] FDE at 0000000000000cb8 overlaps table[5] FDE at 0000000000000cd0.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[5] FDE at 0000000000000cd0 overlaps table[6] FDE at 0000000000000864.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[7] FDE at 0000000000000c48 overlaps table[8] FDE at 0000000000000c5c.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[8] FDE at 0000000000000c5c overlaps table[9] FDE at 0000000000000c18.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[9] FDE at 0000000000000c18 overlaps table[10] FDE at 0000000000000c74.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[10] FDE at 0000000000000c74 overlaps table[11] FDE at 0000000000000ce8.
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: .eh_frame_hdr table[11] FDE at 0000000000000ce8 overlaps table[12] FDE at 0000000000000cfc.
>> collect2: error: ld returned 1 exit status
--
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: arch/powerpc/kernel/vdso64/sigtramp.o: file class ELFCLASS64 incompatible with ELFCLASS32
/usr/lib/gcc-cross/powerpc64le-linux-gnu/5/../../../../powerpc64le-linux-gnu/bin/ld: final link failed: File in wrong format
>> 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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 20849 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
end of thread, other threads:[~2022-01-29 21:58 UTC | newest]
Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 19:27 collect2: error: ld returned 1 exit status kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2022-01-29 21:57 kernel test robot
2022-01-25 19:17 kernel test robot
2021-09-11 19:31 kernel test robot
2021-07-05 2:19 kernel test robot
2021-05-31 12:45 kernel test robot
2021-05-29 19:48 kernel test robot
2021-05-16 23:06 kernel test robot
2021-04-10 19:46 kernel test robot
2021-03-07 17:24 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-11-20 20:39 kbuild test robot
2016-11-21 10:16 ` Linus Walleij
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).