Compiling glibc-2.3.2 (-2.3.3?) snapshot 20031115 with gcc-3.4 snapshot 20031119

Robert Moss robert.moss@jesus.ox.ac.uk
Tue Nov 25 11:07:00 GMT 2003


Dan,

It appears that this worked. The necessary steps and patches required 
for this to work should hopefully be up soon on 
http://www.breakmygentoo.net/ in the hope of getting the experimental 
3.4 compiler out to a wider test audience. Many thanks for your help 
with this. The build is not yet complete, although I hope that I won't 
run into any more problems!

Cheers,

Rob

Robert Moss wrote:
> Dan Kegel wrote:
> 
>> Robert Moss wrote:
>>
>>> ...
>>> gcc -nostdlib -nostartfiles -o 
>>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/iconvconfig 
>>>  -Wl,-dynamic-linker=/lib/ld-linux.so.2   -Wl,-z,combreloc 
>>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crt1.o 
>>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.o 
>>> `gcc --print-file-name=crtbegin.o` 
>>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/iconvconfig.o 
>>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/strtab.o 
>>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/xmalloc.o 
>>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/iconv/hash-string.o 
>>> -Wl,-rpath-link=/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/math:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/elf:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/dlfcn:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/nss:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/nis:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/rt:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/resolv:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/crypt:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/nptl 
>>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/libc.so.6 
>>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/libc_nonshared.a 
>>> -lgcc -lgcc_eh `gcc --print-file-name=crtend.o` 
>>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crtn.o
>>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crtn.o(.text+0x0): 
>>> In function `dummy':
>>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crtn.S:14: 
>>> multiple definition of `dummy'
>>> ...
>>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/csu/crti.S:43: 
>>> undefined reference to `i_am_not_a_leaf'
>>
>>
>>
>> Well, Google found
>> http://sources.redhat.com/ml/libc-alpha/2003-07/msg00117.html
>> which suggests that adding  -fno-unit-at-a-time when building
>> glibc might help.  Worth a shot, anyway...
>> - Dan
> 
> 
> Thanks for that. Despite *much* Googling, I never came across that one - 
> I will give this a try and let you know how I get on.
> 
> Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 264 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20031125/a435ebf4/attachment.sig>


More information about the Libc-alpha mailing list