This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error about build toolchain with crosstool-ng-1.8.0


hi yann:

2010/8/26 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>:
> Loody, All,
>
> On Thursday 26 August 2010 05:37:02 loody wrote:
>> >> [ALL ?] ? ?checking for .previous assembler directive... yes
>> >> [ALL ?] ? ?checking for .protected and .hidden assembler directive... yes
>> >> [ALL ?] ? ?checking whether __attribute__((visibility())) is supported... yes
>> >> [ALL ?] ? ?checking for broken __attribute__((visibility()))... no
>> >> [ALL ?] ? ?checking for broken __attribute__((alias()))... no
>> >> [ALL ?] ? ?checking whether to put _rtld_local into .sdata section... yes
>> >> [ALL ?] ? ?checking for .preinit_array/.init_array/.fini_array support... no
>> >> [ERROR] ? ?configure: error: Need linker with .init_array/.fini_array support.
>
> I've tried to build your toolchain here, and had the same issue.
> It looks like there is an issue when building binutils. With a single glance
> at the config.log for glibc, you'll easily notice that the issue is that
> ld is erroring out with (smthg like):
> ?.gnu.hash is not supported on MIPS.
>
> I found the culprit to be patches/binutils/2.20/210-generate-gnu-hash.patch
> This patch enables the GNU hash, except for MIPS. But the test is wrong.
> The eception only triggers when the _host_ machine is MIPS, not when the
> _target_ machine is MIPS.
>
> Remove the targets/ directory, remove that patch, and start again from
ok.
i know what you mean targets directory, the place that crosstool-ng to
put objs and src tarballs.
But, would you please tell me how to "remove that patch"?
if I have already remove all the tarballs, targets/tarballs, it
doesn't mean I remove the patch also?


> scratch, it should work (the build is on-going OK here). Please report
> whether it works or not for you.

BR,
miloody

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]