Is this a gcc41 bug?

walt wa1ter at
Sat Dec 15 16:40:40 PST 2007

On Sat, 15 Dec 2007, walt wrote:

> ...
> g++  -O2 -Wl,-R/usr/pkg/lib -Wl,--as-needed -o .libs/gparser parser.o
>  -Wl,--export-dynamic -Wl,--rpath,/usr/pkg/lib -lgnashbackend -lgnashserver
>  -lgnashbackend -lgnashamf -lgnashgeo -lgnashbase   <lots of non-linker
>   garbage snipped for legibility>

Well, I just discovered that removing the --as-needed flag fixes the problem
when using g++ to link.  Any idea why it works in NetBSD but not DFly?

More information about the Bugs mailing list