[Clfs-dev] configure: error: compiler support for visibility attribute is required

Pierre Lorenzon devel at pollock-nageoire.net
Sat Dec 15 05:33:39 PST 2012


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 <devel at pollock-nageoire.net>
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 <berzerkula at cox.net>
> 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
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org



More information about the Clfs-dev mailing list