public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/35531]  New: Assembler failure while compiling libgcc
@ 2008-03-10 21:18 bfriesen at simple dot dallas dot tx dot us
  2008-03-10 21:23 ` [Bug bootstrap/35531] " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: bfriesen at simple dot dallas dot tx dot us @ 2008-03-10 21:18 UTC (permalink / raw)
  To: gcc-bugs

On an AMD64 (Opteron) system, the Solaris 10 assembler does not like what GCC
produces.  This system has all patches applied for Solaris 10 U4. GCC 4.2.1
works very well on it.

Configured like:
/home/bfriesen/src/gnu/gcc-4.3.0/configure -program-suffix='-4.3.0'
--enable-threads --enable-version-specific-runtime-libs
--enable-languages='c,c++'

When compiling libgcc2.c this warning is produced for each compile:
"/tmp/bfriesen/ccK2JBM6.s", line 402 : Warning: Illegal subtraction - symbols
from different sections: ".LFB2", ".DOT-1"

/home/bfriesen/build/gcc-4.3.0/./gcc/xgcc
-B/home/bfriesen/build/gcc-4.3.0/./gcc/ -B/usr/local/i386-pc-solaris2.10/bin/
-B/usr/local/i386-pc-solaris2.10/lib/ -isystem
/usr/local/i386-pc-solaris2.10/include -isystem
/usr/local/i386-pc-solaris2.10/sys-include -g -fkeep-inline-functions -m64 -O2 
-O2 -g -O2   -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I.
-I../../.././gcc -I/home/bfriesen/src/gnu/gcc-4.3.0/libgcc
-I/home/bfriesen/src/gnu/gcc-4.3.0/libgcc/.
-I/home/bfriesen/src/gnu/gcc-4.3.0/libgcc/../gcc
-I/home/bfriesen/src/gnu/gcc-4.3.0/libgcc/../include  -DHAVE_CC_TLS -o _gcov.o
-MT _gcov.o -MD -MP -MF _gcov.dep -DL_gcov -c
/home/bfriesen/src/gnu/gcc-4.3.0/libgcc/../gcc/libgcov.c
Assembler: libgcov.c
        "/tmp/bfriesen/ccZ3Azge.s", line 1936 : Syntax error
        Near line: "    repz cmpsb"
        "/tmp/bfriesen/ccZ3Azge.s", line 2976 : Warning: Illegal subtraction -
symbols from different sections: ".LFB3", ".DOT-21"
        "/tmp/bfriesen/ccZ3Azge.s", line 2985 : Warning: Illegal subtraction -
symbols from different sections: ".LFB5", ".DOT-22"
        "/tmp/bfriesen/ccZ3Azge.s", line 2994 : Warning: Illegal subtraction -
symbols from different sections: ".LFB24", ".DOT-23"
        "/tmp/bfriesen/ccZ3Azge.s", line 3003 : Warning: Illegal subtraction -
symbols from different sections: ".LFB22", ".DOT-24"
        "/tmp/bfriesen/ccZ3Azge.s", line 3032 : Warning: Illegal subtraction -
symbols from different sections: ".LFB2", ".DOT-25"
        "/tmp/bfriesen/ccZ3Azge.s", line 3051 : Warning: Illegal subtraction -
symbols from different sections: ".LFB4", ".DOT-26"
        "/tmp/bfriesen/ccZ3Azge.s", line 3070 : Warning: Illegal subtraction -
symbols from different sections: ".LFB8", ".DOT-27"
        "/tmp/bfriesen/ccZ3Azge.s", line 3095 : Warning: Illegal subtraction -
symbols from different sections: ".LFB18", ".DOT-28"
        "/tmp/bfriesen/ccZ3Azge.s", line 3120 : Warning: Illegal subtraction -
symbols from different sections: ".LFB9", ".DOT-29"
        "/tmp/bfriesen/ccZ3Azge.s", line 3145 : Warning: Illegal subtraction -
symbols from different sections: ".LFB12", ".DOT-30"
        "/tmp/bfriesen/ccZ3Azge.s", line 3170 : Warning: Illegal subtraction -
symbols from different sections: ".LFB11", ".DOT-31"
        "/tmp/bfriesen/ccZ3Azge.s", line 3193 : Warning: Illegal subtraction -
symbols from different sections: ".LFB10", ".DOT-32"
        "/tmp/bfriesen/ccZ3Azge.s", line 3216 : Warning: Illegal subtraction -
symbols from different sections: ".LFB13", ".DOT-33"
        "/tmp/bfriesen/ccZ3Azge.s", line 3239 : Warning: Illegal subtraction -
symbols from different sections: ".LFB14", ".DOT-34"
        "/tmp/bfriesen/ccZ3Azge.s", line 3266 : Warning: Illegal subtraction -
symbols from different sections: ".LFB16", ".DOT-35"
        "/tmp/bfriesen/ccZ3Azge.s", line 3285 : Warning: Illegal subtraction -
symbols from different sections: ".LFB15", ".DOT-36"
        "/tmp/bfriesen/ccZ3Azge.s", line 3304 : Warning: Illegal subtraction -
symbols from different sections: ".LFB17", ".DOT-37"
        "/tmp/bfriesen/ccZ3Azge.s", line 3327 : Warning: Illegal subtraction -
symbols from different sections: ".LFB7", ".DOT-38"
        "/tmp/bfriesen/ccZ3Azge.s", line 3350 : Warning: Illegal subtraction -
symbols from different sections: ".LFB6", ".DOT-39"
        "/tmp/bfriesen/ccZ3Azge.s", line 3377 : Warning: Illegal subtraction -
symbols from different sections: ".LFB21", ".DOT-40"
        "/tmp/bfriesen/ccZ3Azge.s", line 3410 : Warning: Illegal subtraction -
symbols from different sections: ".LFB23", ".DOT-41"
gmake[5]: *** [_gcov.o] Error 1
gmake[5]: Leaving directory
`/scratch/bfriesen/build/gcc-4.3.0/i386-pc-solaris2.10/amd64/libgcc'


-- 
           Summary: Assembler failure while compiling libgcc
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bfriesen at simple dot dallas dot tx dot us
 GCC build triplet: i386-pc-solaris2.10
  GCC host triplet: i386-pc-solaris2.10
GCC target triplet: i386-pc-solaris2.10


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35531


^ permalink raw reply	[flat|nested] 15+ messages in thread
[parent not found: <bug-35531-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2010-12-09  1:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-10 21:18 [Bug bootstrap/35531] New: Assembler failure while compiling libgcc bfriesen at simple dot dallas dot tx dot us
2008-03-10 21:23 ` [Bug bootstrap/35531] " pinskia at gcc dot gnu dot org
2008-03-10 21:50 ` bfriesen at simple dot dallas dot tx dot us
2008-03-10 23:06 ` bfriesen at simple dot dallas dot tx dot us
2008-03-10 23:21 ` pinskia at gcc dot gnu dot org
2008-03-11 11:17 ` ubizjak at gmail dot com
2008-03-11 15:51 ` bfriesen at simple dot dallas dot tx dot us
2008-03-11 15:54 ` pinskia at gcc dot gnu dot org
2008-03-11 16:20 ` ubizjak at gmail dot com
2008-03-11 16:36 ` bfriesen at simple dot dallas dot tx dot us
2008-07-19 21:33 ` pinskia at gcc dot gnu dot org
2009-07-01 11:58 ` marek dot rouchal at infineon dot com
2009-07-01 16:42 ` bfriesen at simple dot dallas dot tx dot us
     [not found] <bug-35531-4@http.gcc.gnu.org/bugzilla/>
2010-12-07 20:07 ` gseanmcg at gmail dot com
2010-12-09  1:41 ` bfriesen at simple dot dallas.tx.us

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).