public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/46655] New: AIX6.1 native assembler requires '.line' numbers greater than zero
@ 2010-11-25 10:08 michael.haubenwallner at salomon dot at
  2010-11-25 10:50 ` [Bug target/46655] " michael.haubenwallner at salomon dot at
                   ` (31 more replies)
  0 siblings, 32 replies; 33+ messages in thread
From: michael.haubenwallner at salomon dot at @ 2010-11-25 10:08 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: AIX6.1 native assembler requires '.line' numbers
                    greater than zero
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: michael.haubenwallner@salomon.at


Bootstrapping gcc-4.5.1 on AIX6.1 with recent native assembler fails with:

/build/gcc/./gcc/xgcc -B/build/gcc/./gcc/
-B/install/powerpc-ibm-aix6.1.0.0/bin/ -B/install/powerpc-ibm-aix6.1.0.0/lib/
-isystem /install/powerpc-ibm-aix6.1.0.0/include -isystem
/install/powerpc-ibm-aix6.1.0.0/sys-include    -g -O2 -pthread -O2  -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include 
-mlong-double-128 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED 
 -I. -I. -I../../.././gcc -I/source/gcc-4.5.1/libgcc
-I/source/gcc-4.5.1/libgcc/. -I/source/gcc-4.5.1/libgcc/../gcc
-I/source/gcc-4.5.1/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o _mul_sf.o
-MT _mul_sf.o -MD -MP -MF _mul_sf.dep -DFINE_GRAINED_LIBRARIES -DL_mul_sf -c
../../.././gcc/fp-bit.c  
Assembler:
/tmp//ccI8aKR8.s: line 160: 1252-040 The specified expression is not valid.
        Make sure that all symbols are defined.
        Check the rules on symbols used in an arithmetic expression
        concerning relocation.
gmake[5]: *** [_mul_sf.o] Error 1
gmake[5]: Leaving directory `/build/gcc/powerpc-ibm-aix6.1.0.0/pthread/libgcc'
gmake[4]: *** [multi-do] Error 1
gmake[4]: Leaving directory `/build/gcc/powerpc-ibm-aix6.1.0.0/libgcc'
gmake[3]: *** [all-multi] Error 2
gmake[3]: Leaving directory `/build/gcc/powerpc-ibm-aix6.1.0.0/libgcc'
gmake[2]: *** [all-stage1-target-libgcc] Error 2
gmake[2]: Leaving directory `/build/gcc'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/build/gcc'
gmake: *** [bootstrap] Error 2

Running that xgcc command with "-save-temps -v" tells:
 /build/gcc/./gcc/as -u -mppc -o _mul_sf.o fp-bit.s
Assembler:
fp-bit.s: line 160: 1252-040 The specified expression is not valid.
        Make sure that all symbols are defined.
        Check the rules on symbols used in an arithmetic expression
        concerning relocation.

The line 160 in fp-bit.s is:
160    .line   0

Although this was accepted before installing AIX patch SP6100-04-07-1036, it is
questionable what a line-number zero is for. Also I've found this old message:
http://gcc.gnu.org/ml/gcc-bugs/1999-12/msg00088.html


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

end of thread, other threads:[~2011-05-17  7:40 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-25 10:08 [Bug target/46655] New: AIX6.1 native assembler requires '.line' numbers greater than zero michael.haubenwallner at salomon dot at
2010-11-25 10:50 ` [Bug target/46655] " michael.haubenwallner at salomon dot at
2010-11-25 11:19 ` [Bug target/46655] invalid '.line 0' directive emitted with -g ebotcazou at gcc dot gnu.org
2010-11-25 12:56 ` michael.haubenwallner at salomon dot at
2010-11-26 14:05 ` michael.haubenwallner at salomon dot at
2010-11-29  1:29 ` dje at gcc dot gnu.org
2010-11-29  9:17 ` michael.haubenwallner at salomon dot at
2010-11-29 10:02 ` ebotcazou at gcc dot gnu.org
2010-11-29 10:37 ` hainque at adacore dot com
2010-11-29 23:05 ` dje at gcc dot gnu.org
2010-11-30 12:53 ` michael.haubenwallner at salomon dot at
2010-11-30 15:43 ` michael.haubenwallner at salomon dot at
2010-11-30 15:48 ` dje at gcc dot gnu.org
2010-11-30 18:11 ` hainque at adacore dot com
2010-12-13 12:46 ` michael.haubenwallner at salomon dot at
2011-01-17 11:34 ` ebotcazou at gcc dot gnu.org
2011-01-17 12:47 ` ebotcazou at gcc dot gnu.org
2011-01-17 13:10 ` ebotcazou at gcc dot gnu.org
2011-01-17 13:21 ` ebotcazou at gcc dot gnu.org
2011-02-24  1:51 ` richard.nolde at cybox dot com
2011-02-24  9:45 ` ebotcazou at gcc dot gnu.org
2011-02-24 21:05 ` michael.haubenwallner at salomon dot at
2011-02-24 21:19 ` richard.nolde at cybox dot com
2011-02-24 22:39 ` richard.nolde at cybox dot com
2011-02-25  1:40 ` richard.nolde at cybox dot com
2011-02-25 10:13 ` michael.haubenwallner at salomon dot at
2011-02-25 10:20 ` michael.haubenwallner at salomon dot at
2011-02-25 18:43 ` dje at gcc dot gnu.org
2011-02-28 16:19 ` richard.nolde at cybox dot com
2011-04-01 12:25 ` michael.haubenwallner at salomon dot at
2011-05-17  5:44 ` richard.nolde at cybox dot com
2011-05-17  6:29 ` ebotcazou at gcc dot gnu.org
2011-05-17  7:52 ` michael.haubenwallner at salomon dot at

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