Hi, 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 !
Regards Pierre From: Pierre Lorenzon <[email protected]> Subject: Re: [Clfs-dev] configure: error: compiler support for visibility attribute is required Date: Sat, 15 Dec 2012 14:33:39 +0100 (CET) > > Hi, > > After reading many things about ld problems with respect with > the problem of visibility atribute I suspected binutils to be > responsible for the fail. Unfortunately even when downgrading > to binutils 2.21.1a the fail persists. So I should investigate > further. But if anyone can give me a good advice it would be > greatly appreciated ! > > > Regards > > Pierre > > > > From: Pierre Lorenzon <[email protected]> > Subject: Re: [Clfs-dev] configure: error: compiler support for visibility > attribute is required > Date: Tue, 11 Dec 2012 04:26:32 +0100 (CET) > >> >> Hi William, >> >> Thanks you for your answer : >> >> From: William Harrington <[email protected]> >> Subject: Re: [Clfs-dev] configure: error: compiler support for visibility >> attribute is required >> Date: Mon, 10 Dec 2012 14:56:15 -0600 >> >>> >>> On Dec 10, 2012, at 1:09 AM, Pierre Lorenzon wrote: >>> >>>> checking whether __attribute__((visibility())) is >>>> supported... no >>>> configure: error: compiler support for visibility attribute is >>>> required >>> >>> Can you verify that your tools grep is linked to the >>> interepreter in /tools? >> >> Sure I can and the output is : >> >> >>> -- readelf >> >> [Requesting program interpreter: /tools/lib64/ld-linux-x86-64.so.2] >> >> >> >>> -- End readelf >> >> >> It looks correct to me. In fact I did not know that grep >> could be responsible of this trouble. In the various thinkgs >> I read ld was most of the time the problem. But people were >> compiling on environment without gnu ld (solaris or things >> like that). In my situation I am in a complete gnu linux. >> >> >> Regards >> >> Pierre >>> >>> readelf -e /tools/bin/grep | grep interpreter >>> >>> Sincerely, >>> >>> William Harrington >> _______________________________________________ >> Clfs-dev mailing list >> [email protected] >> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org > _______________________________________________ > Clfs-dev mailing list > [email protected] > http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org _______________________________________________ Clfs-dev mailing list [email protected] http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
