From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19223 invoked by alias); 10 Oct 2005 14:47:36 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 19212 invoked by uid 22791); 10 Oct 2005 14:47:34 -0000 Received: from [220.225.32.98] (HELO calvin.codito.co.in) (220.225.32.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 10 Oct 2005 14:47:34 +0000 Received: from zirakzigil.codito.co.in (zirakzigil.codito.co.in [192.168.100.106]) by calvin.codito.co.in (8.13.2/8.13.2/Debian-1) with ESMTP id j9AKHPRY006796; Tue, 11 Oct 2005 01:47:25 +0530 Subject: Re: "visibility attribute not supported in this configuration" From: Ramana Radhakrishnan Reply-To: ramana.radhakrishnan@codito.com To: Paolo Massimino Cc: gcc-help@gcc.gnu.org In-Reply-To: <434A545F.804@studenti.polito.it> References: <434A545F.804@studenti.polito.it> Content-Type: text/plain Date: Mon, 10 Oct 2005 14:47:00 -0000 Message-Id: <1128955648.20224.2.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-10/txt/msg00046.txt.bz2 On Mon, 2005-10-10 at 13:45 +0200, Paolo Massimino wrote: > Hi all. > I have compiled gcc v4.0.1 on a red hat 7.3. > When I use the flag -fvisibility=hidden compiling my project, a > "visibility attribute not supported in this configuration; ignored" > warning appear many times (one for each non-static function). > I would like to know if there is some configuration i have to setup > before compiling the gcc to activate this feature, or if there is some > incpmpatibility with an old ld or other bin-util. What is the version of ld / binutils / glibc you are using in conjunction with this ? Look at the config.log for the particular build, it should tell you stuff about the .hidden , .internal being supported or not . Try building with later versions of glibc and binutils and maybe it will work . cheers Ramana > Thank you in advace. > Paolo >