[Clfs-dev] configure: error: compiler support for visibility attribute is required
g.esp at free.fr
g.esp at free.fr
Thu Dec 20 05:24:49 PST 2012
----- Mail original -----
> De: "Pierre Lorenzon" <devel at pollock-nageoire.net>
> À: clfs-dev at lists.cross-lfs.org, berzerkula at cox.net
> Envoyé: Jeudi 20 Décembre 2012 10:51:46
> Objet: Re: [Clfs-dev] configure: error: compiler support for visibility attribute is required
>
...
> >> After investigating gcc code itself I discovered that the error
> >> message I got appears when HAVE_GAS_HIDDEN is not defined. This
> >> macro is likely to be defined at gcc configure stage. So I'll
> >> investigate why it it is not set to TRUE or 1 of whatever not
> >> ZERO !
> >
> > Welll it seems that state of this variable is determined by
> > detecting the linker. Unfortunatly the linker seems not to be
> > found on my system. Here is the relevant part of the
> > config.log found in gcc subdirectory in gcc-build.
> >
> > >>> -- config.log
> >
> > configure:20896: checking for x86_64-unknown-linux-gnu-as
> > configure:20914: found /cross-tools/bin/x86_64-unknown-linux-gnu-as
> > configure:20926: result:
> > /cross-tools/bin/x86_64-unknown-linux-gnu-as
> > configure:20945: checking what assembler to use
> > configure:20982: result:
> > /cross-tools/bin/x86_64-unknown-linux-gnu-as
> > configure:21017: checking for x86_64-unknown-linux-gnu-ld
> > configure:21050: result: no
> > configure:21077: checking whether we are using gold
> > configure:21086: result: no
> > configure:21097: checking what linker to use
> > configure:21122: result:
> > configure:21185: checking what nm to use
> > configure:21193: result:
> > /mnt/clfs/cross-tools/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../x86_64-unknown-linux-gnu/bin/nm
> >
> >
> >>>> -- End config.log
Could you post the configure snippet from lines 21050 to 21077?
And result of
find /cross-tools -name x86_64-unknown-linux-gnu-ld
Gilles
More information about the Clfs-dev
mailing list