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

Re: gcc done, eglibc problem



Finn Thain dixit:

>On Thu, 21 Oct 2010, I wrote:
>
>> ...You want:
>> 
>> libc_MIN_KERNEL_SUPPORTED = 2.6.32
>
>While I think this is the best choice, it may not actually work...
>
>http://lists.debian.org/debian-68k/2009/11/msg00003.html
>
>I guess we can cross that bridge when we come to it.

Well, I came to that. I guess any minimum kernel larger than
what’s currently in the archive (2.6.29) would work (for us)
if this didn’t appear there. (FWIW, I kept disable-sanity.)

gcc-4.4   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs -Wl,-dynamic-linker=/lib/ld.so.1  -B/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/csu/  -Wl,--version-script=/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/libc.map -Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -nostdlib -nostartfiles -e __libc_main -L/root/Lc/eglibc-2.11.2/build-tree/m68k-libc -L/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/math -L/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/elf -L/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/dlfcn -L/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/nss -L/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/nis -L/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/rt -L/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/resolv -L/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/crypt -L/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/nptl -Wl,-rpath-link=/root/Lc/eglibc-2.11.2/build-tree/m68k-libc:/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/math:/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/elf:/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/dlfcn:/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/nss:/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/nis:/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/rt:/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/resolv:/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/crypt:/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/nptl -o /root/Lc/eglibc-2.11.2/build-tree/m68k-libc/libc.so -T /root/Lc/eglibc-2.11.2/build-tree/m68k-libc/shlib.lds /root/Lc/eglibc-2.11.2/build-tree/m68k-libc/csu/abi-note.o /root/Lc/eglibc-2.11.2/build-tree/m68k-libc/elf/soinit.os /root/Lc/eglibc-2.11.2/build-tree/m68k-libc/libc_pic.os /root/Lc/eglibc-2.11.2/build-tree/m68k-libc/elf/sofini.os /root/Lc/eglibc-2.11.2/build-tree/m68k-libc/elf/interp.os /root/Lc/eglibc-2.11.2/build-tree/m68k-libc/elf/ld.so -lgcc
/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/libc_pic.os: In function chownat':
/root/Lc/eglibc-2.11.2/io/../ports/sysdeps/unix/sysv/linux/m68k/fchownat.c:123: undefined reference to _atfct_seterrno'
/usr/bin/ld: /root/Lc/eglibc-2.11.2/build-tree/m68k-libc/libc.so: hidden symbol _atfct_seterrno' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[2]: *** [/root/Lc/eglibc-2.11.2/build-tree/m68k-libc/libc.so] Error 1
make[2]: Leaving directory /root/Lc/eglibc-2.11.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory /root/Lc/eglibc-2.11.2/build-tree/m68k-libc'
make: *** [/root/Lc/eglibc-2.11.2/stamp-dir/build_libc] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

So I suppose there’s more patching required ☹

//mirabilos
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.		-- Coywolf Qi Hunt


Reply to: