bootstrap/7404: bootstrap: Illegal .size expression
Thu Jul 25 07:52:00 GMT 2002

>Number:         7404
>Category:       bootstrap
>Synopsis:       bootstrap: Illegal .size expression
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 25 07:36:01 PDT 2002
>Originator:     Andrew Pinski
>Release:        gcc cvs-HEAD: Thu Jul 25 13:32:31 UTC 2002
OpenBSD 3.1-stable
The patch for:
Use the new macros.  Where possible, remove redundant definitions of SIZE_ASM_OP, TYPE_ASM_OP, and TYPE_OPERAND_FMT.

broke the bootstrap on OpenBSD with error:
libgcc2.s: Assembler messages:
libgcc2.s:294: Error: Illegal .size expression

The difference between the one that was update at 8pm EST last night and the one compiled updated on 1:23 UTC is (libgcc2.s.old is the one updated last night and libgcc2.s is one from today):
--- libgcc2.s   Thu Jul 25 10:15:31 2002
+++ libgcc2.s.old       Thu Jul 25 10:15:11 2002
@@ -240,7 +240,7 @@
        .align 1,0x90
        .align 4,0x90
 .globl ___muldi3
-       .type   ___muldi3, @function
+       .type   ___muldi3 , @function
        .stabd  68,0,350
        pushl   %ebp
@@ -291,7 +291,7 @@
        popl    %ebp
-       .size   ___muldi3, _.-___muldi3
+       .size   ___muldi3 , . - ___muldi3
        .stabs  "__muldi3:F151",36,0,350,___muldi3
        .stabs  "u:p151",160,0,349,8
        .stabs  "v:p151",160,0,349,16
compile gcc on OpenBSD3.1-stable
back out the change for just config/openbsd.h

More information about the Gcc-bugs mailing list