pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: graphics/glu and GCC's symbol visibility



On Mon, 19 Oct 2009 21:34:05 +0200
Tobias Nygren <tnn%NetBSD.org@localhost> wrote:

> On Mon, 19 Oct 2009 19:57:09 +0100
> raymond.meyer%rambler.ru@localhost wrote:
> 
> > So, when building graphics/glu, somehow all symbols become hidden.
> > I'm not sure this is supposed to happen, any ideas what's going on
> > here?
> 
> Here are two good places to start digging:
> - pkgsrc/graphics/MesaLib/patches/patch-ab
>   (code responsible for generating glu.exports)
> - pkgsrc/graphics/MesaLib/hacks.mk
>   (it the place where -fvisibility=hidden is enabled)
> 

root@ultra10 pwd
/opt/sandbox/opt/pkg.obj/graphics/glu
root@ultra10 find . -name "*.exports"
./work.ultra10/Mesa-7.4.4/src/glu/sgi/glu.exports
root@ultra10 cat ./work.ultra10/Mesa-7.4.4/src/glu/sgi/glu.exports
root@ultra10 

So, the "glu.exports" is empty, I don't understand what the code for
generating glu.exports is supposed to do. Anyone?


Home | Main Index | Thread Index | Old Index