This is fallout from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797577 It will affect any project that tries to link with ld.gold, such as Spidermonkey and WebkitGtk, since ld.gold does not recognize the "--push-state" flag that is injected by the fix/workaround from the above bug.
The underlying bug http://gcc.gnu.org/PR65913 looks to be fixed upstream and will be included in gcc 5.3 ** Bug watch added: Debian Bug tracker #797577 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797577 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1496743 Title: /usr/bin/ld.gold: --push-state: unknown option Status in gcc-5 package in Ubuntu: Confirmed Status in qtbase-opensource-src package in Ubuntu: Confirmed Bug description: 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 TJ- on #ubuntu-devel suggested: < TJ-> Mirv: bzoltan: the issue could be in qtbase-opensource-src-5.4.2+dfsg (qmake) which does "mkspecs/common/gcc-base-unix.conf:19:QMAKE_LFLAGS_USE_GOLD = -fuse-ld=gold" irrespective of libraries being linked. Ideas for a proper fix welcome. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1496743/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp