Multiple definitions of setregid, setresgid and setresuid between libc/libpthread
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Aug 29 14:50:40 UTC 2014
Hello,
Similar problem than with vfork() (redefinition of symbols between
libpthread.a and libc.a), but this time with setregid(), setresgid()
and setresuid(), triggered by the build of Python on at least two
architectures:
* i386
http://autobuild.buildroot.org/results/4c1/4c15b0029c0777eb33d00cbc6f69b8357ed49c9c/build-end.log
* ARM
http://autobuild.buildroot.org/results/953/95366836999effea2bf9de8d1d97fb0265caedf9/build-end.log
/home/test/autobuild/instance-2/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(setregid.os): In function `setregid':
setregid.c:(.text+0x0): multiple definition of `setregid'
/home/test/autobuild/instance-2/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libpthread.a(pthread_setregid.os):pthread_setregid.c:(.text+0x0): first defined here
/home/test/autobuild/instance-2/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(setresgid.os): In function `setresgid':
setresgid.c:(.text+0x0): multiple definition of `setresgid'
/home/test/autobuild/instance-2/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libpthread.a(pthread_setresgid.os):pthread_setresgid.c:(.text+0x0): first defined here
/home/test/autobuild/instance-2/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(setresuid.os): In function `setresuid':
setresuid.c:(.text+0x0): multiple definition of `setresuid'
/home/test/autobuild/instance-2/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libpthread.a(pthread_setresuid.os):pthread_setresuid.c:(.text+0x0): first defined here
/home/test/autobuild/instance-2/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(setreuid.os): In function `setreuid':
setreuid.c:(.text+0x0): multiple definition of `setreuid'
/home/test/autobuild/instance-2/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libpthread.a(pthread_setreuid.os):pthread_setreuid.c:(.text+0x0): first defined here
Same uClibc version as with the vfork() report: 0.9.33.2 plus the set
of patches at
http://git.buildroot.net/buildroot/tree/package/uclibc/0.9.33.2?id=2014.05-rc1.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the uClibc
mailing list