public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/66523] New: the new clang-based assembler in Xcode 7 on 10.11 fails on libobjc/NXConstStr.m
@ 2015-06-12 15:05 howarth.at.gcc at gmail dot com
  2015-06-12 15:11 ` [Bug target/66523] " howarth.at.gcc at gmail dot com
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: howarth.at.gcc at gmail dot com @ 2015-06-12 15:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66523
           Summary: the new clang-based assembler in Xcode 7 on 10.11
                    fails on libobjc/NXConstStr.m
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: howarth.at.gcc at gmail dot com
  Target Milestone: ---

Created attachment 35773
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35773&action=edit
proposed fix from Iain Sandoe

The new clang-based assembler in Xcode 7 fails to build libobjc in FSF gcc 5.1
with the following error...

/bin/sh ./libtool  --mode=compile
/sw/src/fink.build/gcc5-5.1.0-2/darwin_objdir/./gcc/xgcc
-B/sw/src/fink.build/gcc5-5.1.0-2/darwin_objdir/./gcc/
-B/sw/lib/gcc5/x86_64-apple-darwin15.0.0/bin/
-B/sw/lib/gcc5/x86_64-apple-darwin15.0.0/lib/ -isystem
/sw/lib/gcc5/x86_64-apple-darwin15.0.0/include -isystem
/sw/lib/gcc5/x86_64-apple-darwin15.0.0/sys-include   
/sw/src/fink.build/gcc5-5.1.0-2/gcc-5.1.0/libobjc/NXConstStr.m -c \
           -I. -I/sw/src/fink.build/gcc5-5.1.0-2/gcc-5.1.0/libobjc   -g -O2 -W
-Wall -Wwrite-strings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS
-fno-strict-aliasing -fexceptions
-I/sw/src/fink.build/gcc5-5.1.0-2/gcc-5.1.0/libobjc/../gcc
-I/sw/src/fink.build/gcc5-5.1.0-2/gcc-5.1.0/libobjc/../gcc/config -I../.././gcc
-I/sw/src/fink.build/gcc5-5.1.0-2/gcc-5.1.0/libobjc/../libgcc -I../libgcc
-I/sw/src/fink.build/gcc5-5.1.0-2/gcc-5.1.0/libobjc/../include  -fgnu-runtime \
           -o NXConstStr.lo
libtool: compile:  /sw/src/fink.build/gcc5-5.1.0-2/darwin_objdir/./gcc/xgcc
-B/sw/src/fink.build/gcc5-5.1.0-2/darwin_objdir/./gcc/
-B/sw/lib/gcc5/x86_64-apple-darwin15.0.0/bin/
-B/sw/lib/gcc5/x86_64-apple-darwin15.0.0/lib/ -isystem
/sw/lib/gcc5/x86_64-apple-darwin15.0.0/include -isystem
/sw/lib/gcc5/x86_64-apple-darwin15.0.0/sys-include
/sw/src/fink.build/gcc5-5.1.0-2/gcc-5.1.0/libobjc/NXConstStr.m -c -I.
-I/sw/src/fink.build/gcc5-5.1.0-2/gcc-5.1.0/libobjc -g -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS
-fno-strict-aliasing -fexceptions
-I/sw/src/fink.build/gcc5-5.1.0-2/gcc-5.1.0/libobjc/../gcc
-I/sw/src/fink.build/gcc5-5.1.0-2/gcc-5.1.0/libobjc/../gcc/config -I../.././gcc
-I/sw/src/fink.build/gcc5-5.1.0-2/gcc-5.1.0/libobjc/../libgcc -I../libgcc
-I/sw/src/fink.build/gcc5-5.1.0-2/gcc-5.1.0/libobjc/../include -fgnu-runtime 
-fno-common -DPIC -o .libs/NXConstStr.o
/var/tmp//ccc9efWx.s:98:17: error: non-local symbol required in directive
        .no_dead_strip L_OBJC_Module
                       ^
make: *** [NXConstStr.lo] Error 1

The proposed patch from Iain Sandoe suppresses this assembler error and allows
libobjc to build under the clang-based assembler.


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2015-07-09 19:28 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-12 15:05 [Bug target/66523] New: the new clang-based assembler in Xcode 7 on 10.11 fails on libobjc/NXConstStr.m howarth.at.gcc at gmail dot com
2015-06-12 15:11 ` [Bug target/66523] " howarth.at.gcc at gmail dot com
2015-06-15 15:00 ` kassafari at gmail dot com
2015-06-15 15:09 ` iains at gcc dot gnu.org
2015-06-19 23:36 ` howarth.at.gcc at gmail dot com
2015-07-01 14:04 ` howarth.at.gcc at gmail dot com
2015-07-05 18:11 ` mrs at gcc dot gnu.org
2015-07-05 18:39 ` iains at gcc dot gnu.org
2015-07-07  7:50 ` iains at gcc dot gnu.org
2015-07-07 16:02 ` mrs at gcc dot gnu.org
2015-07-07 18:57 ` howarth.at.gcc at gmail dot com
2015-07-07 19:04 ` mrs at gcc dot gnu.org
2015-07-08 15:13 ` howarth.at.gcc at gmail dot com
2015-07-08 16:57 ` mrs at gcc dot gnu.org
2015-07-08 17:00 ` mrs at gcc dot gnu.org
2015-07-08 17:20 ` mrs at gcc dot gnu.org
2015-07-09  2:15 ` howarth.at.gcc at gmail dot com
2015-07-09 16:08 ` howarth.at.gcc at gmail dot com
2015-07-09 17:51 ` mrs at gcc dot gnu.org
2015-07-09 17:56 ` mrs at gcc dot gnu.org
2015-07-09 18:00 ` mrs at gcc dot gnu.org
2015-07-09 19:28 ` howarth.at.gcc at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).