Luca wrote:
> Luca wrote:
>   
>> Hi all!
>>
>> Today I started a new CLFS-svn-20061107-x86 build but when building
>> Glibc I receive the following error:
>> checking for .symver assembler directive... yes
>> checking for ld --version-script... no
>> *** WARNING: You should not compile GNU libc without versioning. Not using
>> *** versioning will introduce incompatibilities so that old binaries
>> *** will not run anymore.
>> *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer).
>> checking for .previous assembler directive... yes
>> checking for .protected and .hidden assembler directive... yes
>> checking whether __attribute__((visibility())) is supported... yes
>> checking for broken __attribute__((visibility()))... no
>> checking for broken __attribute__((alias()))... no
>> checking whether to put _rtld_local into .sdata section... no
>> checking for .preinit_array/.init_array/.fini_array support... no
>> configure: error: Need linker with .init_array/.fini_array support.
>>
>>
>> I followed exactly line by line the book...
>>
>> btw: Glibc-minor-version is fixed in Glibc-20061106
>>
>> Luca
>> _______________________________________________
>> Clfs-support mailing list
>> [email protected]
>> http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
>>
>>   
>>     
> More on that:
> I tried compiling in the Alpha-way: Linux-headers, Cross-binutils,
> Glibc-Headers, Gcc-static, Glibc and Gcc.
> Glibc-headers compiled well but when compiling Glibc this problem
> reappeared so still unsolved... (I tried passing CFLAGS and
> LD_LIBRARY_PATH, tried adding extra -I<path> -L<path> but still no working)
>
> P.S. Extra note: when compiling gcc-static I had to pass
> "--disable-libssp --disable-libmudflap" otherwise it broke when compiling.
>
> Luca
> _______________________________________________
> Clfs-support mailing list
> [email protected]
> http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
>
>   
I finally found out that my gcc compiles packages in this way:
"-pipe -O2 --version -s"

Could it be this the cause of the errors?

Luca
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to