This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/71767] Endless stream of warnings when using GCC with -Wa,-q and Clang Integrated Assembler


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71767

--- Comment #43 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 appears to be PR57438 because passing
-D__builtin_unreachable=__builtin_trap to the build on OS X 10.11 allows emac
25.1 to build against the Xcode 8.1 GM linker using stock gcc 6.2.0 compiler
with...

  $ ../configure --enable-link-time-optimization --without-ns
CC=/sw/bin/gcc-fsf-6 CXX=/sw/bin/g++-fsf-6
CPPFLAGS="-D__builtin_unreachable=__builtin_trap -I/sw/include"
LDFLAGS="-L/sw/lib"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]