Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] glibc error

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Wolfgang Scheicher <worf AT sbox.tu-graz.ac.at>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] glibc error
  • Date: Tue, 16 Mar 2004 09:56:26 +0100

Am Tuesday 16 March 2004 01:14 schrieb Eric Sandall:
> Quoting Jeremy Kolb <jkolb AT brandeis.edu>:

>> configure: error: working compiler support for visibility attribute is
>> required
>
> It appears that someone else has this problem, but I saw no resolution

That was me, and as far as i suspect that you get a broken gcc if you compile
gcc on a system with a nptl glibc. Too broken to compile any glibc.

Luckily, i had a working gcc in a other pc's /var/cache/sorcery

Attached a small test file by rycee which uses this visibility attribute.

Note: this is propably not the only problem, i couldn't compile qt either.

How can this be fixed? Eventually we have to use a prerelease snapshot of gcc
too, if we use one for glibc :-)

Worf
#include <stdio.h>

void test() __attribute__ ((visibility ("hidden")));

void test() { puts("blah"); }

int
main(int argc, char **argv)
{
	test();
	return 0;
}



Archive powered by MHonArc 2.6.24.

Top of Page