This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/71767] Endless stream of warnings when using GCC with -Wa,-q and Clang Integrated Assembler
- From: "howarth.at.gcc at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Oct 2016 20:47:49 +0000
- Subject: [Bug target/71767] Endless stream of warnings when using GCC with -Wa,-q and Clang Integrated Assembler
- Auto-submitted: auto-generated
- References: <bug-71767-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71767
--- Comment #37 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
(In reply to Eric Gallager from comment #33)
> I'm not sure if this is due to the patches from this bug report, or if it's
> due to some other change made to GCC recently, but my fork of Emacs now
> fails to build with LTO due to a bunch of undefined local symbols:
This issue exists in stock gcc 6.2.0 on x86_64-apple-darwin15. I can reproduce
the issue building emacs 25.1 configured with...
../configure --without-ns --prefix=/Users/howarth/emacs-dist
CC=/sw/bin/gcc-fsf-6 CXX=/sw/bin/g++-fsf-6 CPPFLAGS="-I/sw/include"
LDFLAGS="-flto -fno-pie -L/sw/lib" CFLAGS="-O0 -g -fno-pie -flto"
which produces a build that fails at...
CCLD temacs
/var/folders/vh/xthx1f251nqfj804049zl1wm0000gn/T//cc5Viitn.s:288358:1: error:
assembler local symbol 'L1' not defined
...
/var/folders/vh/xthx1f251nqfj804049zl1wm0000gn/T//cc5Viitn.s:288358:1: error:
assembler local symbol 'L174' not defined