> Date: Thu, 21 Mar 2013 21:54:02 +0000
> From: Miod Vallat <[email protected]>
> 
> > - local symbol `environ' in /usr/lib/crt0.o is referenced by DSO
> 
> Hmm, that's odd. `environ' is a common and not declared as static or
> with any visibility attribute. Can you share the exact linking command
> which has triggered this error?

See the discussion on icb.  Executive summary:

Some ports are using version scripts to restrict the symbols exported
from the executable.  Since environ lives in crt0.o it becomes part of
the executable.  Since environ isn't listed in the version script it
is forced to become local.  The result is that libc.so can't use it
anymore.

The fix is probably to add environ and __progname to the appropriate
version scripts.

Reply via email to