libc/libc_so.a(lutimes.os) + lutimes.c: In function `lutimes': undefined reference to `__GI_utimensat'

Peter Mazinger ps.m at gmx.net
Fri Mar 18 14:40:12 UTC 2011


Hi,

I have committed a fix to future branch, try that patch with rc3

Peter
-------- Original-Nachricht --------
> Datum: Fri, 18 Mar 2011 12:09:40 +0100
> Von: Sedat Dilek <sedat.dilek at googlemail.com>
> An: uclibc at uclibc.org
> Betreff: libc/libc_so.a(lutimes.os) + lutimes.c: In function `lutimes\':	undefined reference to `__GI_utimensat\'

> Hi,
> 
> now, I did my 8th build with a modified freetz buildsystem to create a
> mipsel-toolchain:
> 1. binutils-2.21.51.0.6
> 2. gcc-4.6.0-RC-20110314
> 3. uClibc-0.9.32-rc3
> 
> My Debian/sid i386 has the following toolchain:
> 1. binutils (2.21.0.20110317-1~dileks.1) <--- incl. gas
> size-expression patches [0]
> 2. gcc-4.5 (4.5.2-6) and gcc-4.6 (4.6.0~rc1-1) <--- gcc-4.5 is
> default-compiler in Debian/sid
> 3. eglibc (2.11.2-11)
> 
> Unfortunately, I am always getting the below (see P.S.) error-messages
> and the build breaks.
> 
> I have refreshed the patches (see below) for gcc-4.6 and
> uClibc-0.9.32-rc3, tried to switch host-gcc and applied "dl-osinfo.h:
> include needed headers" [1] from future GIT branch. Nope, Nope and
> Nope.
> 
> On WildWildWeb I saw other reports on the same issue, for example [2].
> 
> If you have any advices or need any files for inspecting (full
> build.log for example), please let me know.
> 
> Regards,
> - Sedat -
> 
> [0] http://sourceware.org/ml/binutils/2011-03/msg00334.html
> [1]
> http://git.busybox.net/uClibc/commit/?h=future&id=375a7067e97e01ddff60f6a10f61533449c80336
> [2] http://lists.busybox.net/pipermail/uclibc/2010-December/044547.html
> 
> P.S.: Excerpt of build.log
> 
> [ build.log ]
> ...
> d at tbox:~/src/freetz/freetz-trunk$ tail -30 ../build.log
>  CC libpthread/linuxthreads.old/libc_pthread_init.oS -DNDEBUG -DSHARED
> ./libpthread/linuxthreads.old/sysdeps/mips/pt-machine.h:67:10:
> warning: '_test_and_set' is static but used in inline function
> 'testandset' which is not static [enabled by default]
>  CC libc/misc/elf/dl-iterate-phdr.oS -DNDEBUG -DSHARED -D_GNU_SOURCE
>  CC libc/misc/internals/__uClibc_main.oS -DNDEBUG -DSHARED
>  CC libc/inet/rpc/rpc_thread.oS -DNDEBUG -DSHARED
> ./libpthread/linuxthreads.old/sysdeps/mips/pt-machine.h:67:10:
> warning: '_test_and_set' is static but used in inline function
> 'testandset' which is not static [enabled by default]
>  CC libc/stdlib/system.oS -DNDEBUG -DSHARED
>  CC libpthread/linuxthreads.old/libc_pthread_init.os -DNDEBUG
> ./libpthread/linuxthreads.old/sysdeps/mips/pt-machine.h:67:10:
> warning: '_test_and_set' is static but used in inline function
> 'testandset' which is not static [enabled by default]
>  CC libc/misc/elf/dl-support.os -DNDEBUG
>  CC libc/misc/elf/dl-core.os -DNDEBUG
>  CC libc/misc/elf/dl-iterate-phdr.os -DNDEBUG -D_GNU_SOURCE
>  CC libc/misc/internals/__uClibc_main.os -DNDEBUG
>  CC libc/inet/rpc/rpc_thread.os -DNDEBUG
> ./libpthread/linuxthreads.old/sysdeps/mips/pt-machine.h:67:10:
> warning: '_test_and_set' is static but used in inline function
> 'testandset' which is not static [enabled by default]
>  CC libc/stdlib/atexit.os -DNDEBUG
>  CC libc/stdlib/system.os -DNDEBUG
>  AR cr lib/libc.a
>  STRIP -x -R .note -R .comment lib/libc.a
>  AR cr lib/uclibc_nonshared.a
>  STRIP -x -R .note -R .comment lib/uclibc_nonshared.a
>  AR cr libc/libc_so.a
>  STRIP -x -R .note -R .comment libc/libc_so.a
>  LD libuClibc-0.9.32-rc3.so
> libc/libc_so.a(lutimes.os): In function `lutimes':
> lutimes.c:(.text+0x94): undefined reference to `__GI_utimensat'
> collect2: ld returned 1 exit status
> make[1]: *** [lib/libc.so] Fehler 1
> make[1]: Leaving directory
> `/home/sd/src/freetz/freetz-trunk/source/toolchain-mipsel_gcc-4.6.0-RC-20110314_uClibc-0.9.32-rc3/uClibc-0.9.32-rc3'
> make: ***
> [/home/sd/src/freetz/freetz-trunk/source/toolchain-mipsel_gcc-4.6.0-RC-20110314_uClibc-0.9.32-rc3/uClibc-0.9.32-rc3/lib/libc.a]
> Fehler 2
> 
> $ LC_ALL=C ls -l 0.9.32-patches/new/ 0.9.32-patches/from-future-branch/
> 0.9.32-patches/from-future-branch/:
> total 4
> -rw-r--r-- 1 sd sd 843 Mar 18 09:24
> 0001-dl-osinfo.h-include-needed-headers.patch
> 
> 0.9.32-patches/new/:
> total 60
> -rw-r--r-- 1 sd sd 1692 Mar 17 21:54
> 0001-Add-011-ipv6_oldkernels.patch.patch
> -rw-r--r-- 1 sd sd  710 Mar 17 21:54 0002-Add-100-Config.mips.patch.patch
> -rw-r--r-- 1 sd sd  852 Mar 17 21:54 0003-Add-100-Rules.mak.patch.patch
> -rw-r--r-- 1 sd sd 2151 Mar 17 21:54
> 0004-Add-110-compat_macros.patch.patch
> -rw-r--r-- 1 sd sd  689 Mar 17 21:54 0005-Add-120-adjtimex.patch.patch
> -rw-r--r-- 1 sd sd 1262 Mar 17 21:54
> 0006-Add-130-ldso-fix-__dl_parse_dynamic_info-segfault.pa.patch
> -rw-r--r-- 1 sd sd 1015 Mar 17 21:54 0007-Add-170-math_finite.patch.patch
> -rw-r--r-- 1 sd sd 2320 Mar 17 21:54
> 0008-Add-180-pthread_cleanup_fix.patch.patch
> -rw-r--r-- 1 sd sd  968 Mar 17 21:54
> 0009-Add-190-nptl_use_arch_default_stack_limit.patch.patch
> -rw-r--r-- 1 sd sd 1755 Mar 17 21:54
> 0010-Add-300-readdir_r-fix.patch.patch
> -rw-r--r-- 1 sd sd  615 Mar 17 21:54
> 0011-Add-410-llvm_workaround.patch.patch
> -rw-r--r-- 1 sd sd  836 Mar 17 21:54
> 0012-Add-904-pthread_errno_fix.patch.patch
> -rw-r--r-- 1 sd sd 1358 Mar 17 21:54
> 0013-Add-980-pregenerated_locale_data.patch.patch
> -rw-r--r-- 1 sd sd  727 Mar 17 21:54
> 0014-Add-uClibc-0.9.30-fix-gethostent_r-failure-retval.pa.patch
> -rw-r--r-- 1 sd sd  784 Mar 17 21:54
> 0015-Add-uClibc-0.9.30-fix-pthread.h.patch.patch
> 
> $ LC_ALL=C ls -l 4.6.0-RC-20110314-patches/new/
> total 48
> -rw-r--r-- 1 sd sd 3043 Mar 18 01:39
> 0001-Add-010-use_bundled_mkstemps.patch.patch
> -rw-r--r-- 1 sd sd 1694 Mar 18 01:39 0002-Add-100-uclibc-conf.patch.patch
> -rw-r--r-- 1 sd sd 1025 Mar 18 01:39 0003-Add-101-soft-float.patch.patch
> -rw-r--r-- 1 sd sd  849 Mar 18 01:39
> 0004-Add-301-missing-execinfo_h.patch.patch
> -rw-r--r-- 1 sd sd  697 Mar 18 01:39 0005-Add-302-c99-snprintf.patch.patch
> -rw-r--r-- 1 sd sd 1872 Mar 18 01:39
> 0006-Add-305-libmudflap-susv3-legacy.patch.patch
> -rw-r--r-- 1 sd sd  780 Mar 18 01:39
> 0007-Add-800-libgcc-disable-mips16-float.patch.patch
> -rw-r--r-- 1 sd sd  826 Mar 18 01:39 0008-Add-800-libgcc-dwarf.patch.patch
> -rw-r--r-- 1 sd sd 1559 Mar 18 01:39 0009-Add-820-libgcc_pic.patch.patch
> -rw-r--r-- 1 sd sd 9963 Mar 18 01:39
> 0010-Refresh-910-mbsd_multi.patch-against-gcc-4.6.0-RC.patch
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc

-- 
Schon gehört? GMX hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://www.gmx.net/de/go/toolbar


More information about the uClibc mailing list