On Mon, Sep 21, 2015 at 01:56:46PM -0000, Launchpad Bug Tracker wrote: > With gcc 5.2.1-17ubuntu4, we're seeing > https://launchpadlibrarian.net/218108553/buildlog_ubuntu-wily-amd64 > .ubuntu-ui-toolkit_1.3.1639%2B15.10.20150916.2-0ubuntu1_BUILDING.txt.gz
The error in the log is: g++ -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -Wl,-O1 -fuse-ld=gold -o ubuntu-ui-toolkit-launcher .obj/launcher.o .obj/MouseTouchAdaptor.o -L/usr/X11R6/lib64 -lQt5Quick -lQt5Gui -lQt5Qml -lQt5Network -lQt5Test -lQt5Core -lGL -lpthread /usr/bin/ld.gold: --push-state: unknown option /usr/bin/ld.gold: use the --help option for usage information collect2: error: ld returned 1 exit status But --push-state only ever appears in the error message; it does not appear in the g++ commandline that the build system claims to be invoking. Has anyone tracked down the origin of this? I do see '--push-state' in the output of 'strings /usr/bin/g++', so it's certainly possible that g++ itself is adding it to the commandline when invoking ld. If so this is definitely a gcc bug, passing extra arguments to ld regardless of which ld is being called, and it doesn't matter what libraries are being passed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1496743 Title: /usr/bin/ld.gold: --push-state: unknown option To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1496743/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs