x86_64-pc-linux-gnu-gcc -o gpsdecode "-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=b oth -Wl,--sort-common -lgomp -fopenmp" gpsdecode.o -L. -lgpsd -lusb-1.0 -lblueto oth -lgps /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: u nrecognized option '--as-needed -Wl' /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: u se the --help option for usage information
Incidentally I fixed this one myself as I stumbled across it and forgot to check if it was reported already.
you need to properly document your patches and changelog commits. i've fixed it for you: http://sources.gentoo.org/sci-geosciences/gpsd/ChangeLog?r1=1.77&r2=1.78 http://sources.gentoo.org/sci-geosciences/gpsd/files/gpsd-3.3-ldflags.patch?r1=1.1&r2=1.2 please read: http://dev.gentoo.org/~vapier/clean-patches
*** Bug 391869 has been marked as a duplicate of this bug. ***