[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#827477: FTBFS on mips* and sparc*: multiple definition of `vfork@GLIBC_2.0'



control: tag -1 + confirmed
control: tag -1 + patch
control: forwarded -1 https://sourceware.org/ml/libc-alpha/2016-06/msg00660.html

On 2016-06-16 20:08, Helmut Grohne wrote:
> Source: glibc
> Version: 2.22-11
> Severity: serious
> Justification: FTBFS on a release architetcure
> User: helmutg@debian.org
> Usertags: rebootstrap
> 
> glibc FTCBFS on 
> mips: https://jenkins.debian.net/job/rebootstrap_mips_gcc5_nobiarch_diffoscope/42/console
> mipsel: https://jenkins.debian.net/job/rebootstrap_mipsel_gcc5/110/console
> mips64el: https://jenkins.debian.net/job/rebootstrap_mips64el_gcc5_nobiarch/126/console
> sparc: https://jenkins.debian.net/job/rebootstrap_sparc_gcc6/22/console
> sparc64: https://jenkins.debian.net/job/rebootstrap_sparc64_gcc5_nobiarch/126/console
> 
> I also attempted to build glibc natively for mips on minkus.d.o. It also
> fails there. Build log attached. Relevant excerpt:
> 
> | mips-linux-gnu-gcc-5 -mabi=32   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs -Wl,-dynamic-linker=/lib/ld.so.1  -B/home/helmutg/glibc-2.22/build-tree/mips-libc/csu/  -Wl,--version-script=/home/helmutg/glibc-2.22/build-tree/mips-libc/librt.map -Wl,-soname=librt.so.1 -Wl,-z,relro -Wl,--enable-new-dtags,-z,nodelete -L/home/helmutg/glibc-2.22/build-tree/mips-libc -L/home/helmutg/glibc-2.22/build-tree/mips-libc/math -L/home/helmutg/glibc-2.22/build-tree/mips-libc/elf -L/home/helmutg/glibc-2.22/build-tree/mips-libc/dlfcn -L/home/helmutg/glibc-2.22/build-tree/mips-libc/nss -L/home/helmutg/glibc-2.22/build-tree/mips-libc/nis -L/home/helmutg/glibc-2.22/build-tree/mips-libc/rt -L/home/helmutg/glibc-2.22/build-tree/mips-libc/resolv -L/home/helmutg/glibc-2.22/build-tree/mips-libc/crypt -L/home/helmutg/glibc-2.22/build-tree/mips-libc/mathvec -L/home/helmutg/glibc-2.22/build-tree/mips-libc/nptl -Wl,-rpath-link=/home/helmutg/glibc-2.22/build-tree/mips-libc:/home/helmutg/glibc-2.22/build-tree/mips-libc/math:/home/helmutg/glibc-2.22/build-tree/mips-libc/elf:/home/helmutg/glibc-2.22/build-tree/mips-libc/dlfcn:/home/helmutg/glibc-2.22/build-tree/mips-libc/nss:/home/helmutg/glibc-2.22/build-tree/mips-libc/nis:/home/helmutg/glibc-2.22/build-tree/mips-libc/rt:/home/helmutg/glibc-2.22/build-tree/mips-libc/resolv:/home/helmutg/glibc-2.22/build-tree/mips-libc/crypt:/home/helmutg/glibc-2.22/build-tree/mips-libc/mathvec:/home/helmutg/glibc-2.22/build-tree/mips-libc/nptl -o /home/helmutg/glibc-2.22/build-tree/mips-libc/rt/librt.so -T /home/helmutg/glibc-2.22/build-tree/mips-libc/shlib.lds /home/helmutg/glibc-2.22/build-tree/mips-libc/csu/abi-note.o -Wl,--whole-archive /home/helmutg/glibc-2.22/build-tree/mips-libc/rt/librt_pic.a -Wl,--no-whole-archive /home/helmutg/glibc-2.22/build-tree/mips-libc/nptl/libpthread_nonshared.a /home/helmutg/glibc-2.22/build-tree/mips-libc/nptl/libpthread.so  -Wl,--start-group /home/helmutg/glibc-2.22/build-tree/mips-libc/libc.so /home/helmutg/glibc-2.22/build-tree/mips-libc/libc_nonshared.a -Wl,--as-needed /home/helmutg/glibc-2.22/build-tree/mips-libc/elf/ld.so -Wl,--no-as-needed -Wl,--end-group
> | /home/helmutg/glibc-2.22/build-tree/mips-libc/nptl/libpthread.so:(*IND*+0x0): multiple definition of `vfork@GLIBC_2.0'
> | /home/helmutg/glibc-2.22/build-tree/mips-libc/nptl/libpthread.so::(.text+0xee50): first defined here
> | collect2: error: ld returned 1 exit status
> | ../Makerules:517: recipe for target '/home/helmutg/glibc-2.22/build-tree/mips-libc/rt/librt.so' failed
> | make[3]: *** [/home/helmutg/glibc-2.22/build-tree/mips-libc/rt/librt.so] Error 1
> | make[3]: Leaving directory '/home/helmutg/glibc-2.22/rt'
> | Makefile:229: recipe for target 'rt/others' failed
> | make[2]: *** [rt/others] Error 2
> | make[2]: Leaving directory '/home/helmutg/glibc-2.22'
> | Makefile:9: recipe for target 'all' failed
> | make[1]: *** [all] Error 2
> | make[1]: Leaving directory '/home/helmutg/glibc-2.22/build-tree/mips-libc'
> | debian/rules.d/build.mk:105: recipe for target '/home/helmutg/glibc-2.22/stamp-dir/build_libc' failed
> | make: *** [/home/helmutg/glibc-2.22/stamp-dir/build_libc] Error 2
> | dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
> 
> I did not observe this failure before 12th of June. The first failure
> is https://jenkins.debian.net/job/rebootstrap_mipsel_gcc5_nobiarch_diffoscope/43/console.
> Thus we know that the failure is triggered by a change in glibc, but
> instead by some of its transitive Build-Depends.
> 
> Comparing the first failure to one of the last successful builds
> https://jenkins.debian.net/job/rebootstrap_mips_gcc5_supported_diffoscope/41/console,
> I observe that the first failure was built with binutils 2.26-11 while
> the last success was built with binutils 2.26-10. Both were built with
> gcc-5 5.4.0-4. Thus it seems likely, that a change in binutils triggers
> this issue.

Thanks for this bug report. I have send a patch upstream:

  https://sourceware.org/ml/libc-alpha/2016-06/msg00660.html

I'll merge it when it get reviewed or accepted.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: