public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/37777]  New: error: 'ASM_SHORT' undeclared (first use in this function)
@ 2008-10-09  1:57 cnstar9988 at gmail dot com
  2008-10-09  2:12 ` [Bug target/37777] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: cnstar9988 at gmail dot com @ 2008-10-09  1:57 UTC (permalink / raw)
  To: gcc-bugs

../../src/gcc/config/i386/i386.md: In function 'output_615':
../../src/gcc/config/i386/i386.md:21149: error: 'ASM_SHORT' undeclared (first
use in this function)
../../src/gcc/config/i386/i386.md:21149: error: (Each undeclared identifier is
reported only once
../../src/gcc/config/i386/i386.md:21149: error: for each function it appears
in.)
../../src/gcc/config/i386/i386.md:21149: error: expected ';' before string
constant
../../src/gcc/config/i386/i386.md:21150: warning: control reaches end of
non-void function
make[3]: *** [insn-output.o] Error 1


-- 
           Summary: error: 'ASM_SHORT' undeclared (first use in this
                    function)
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cnstar9988 at gmail dot com
 GCC build triplet: i386-pc-solaris2.10


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


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

* [Bug target/37777] error: 'ASM_SHORT' undeclared (first use in this function)
  2008-10-09  1:57 [Bug bootstrap/37777] New: error: 'ASM_SHORT' undeclared (first use in this function) cnstar9988 at gmail dot com
@ 2008-10-09  2:12 ` pinskia at gcc dot gnu dot org
  2008-10-09  2:16 ` cnstar9988 at gmail dot com
  2008-10-09 11:26 ` cnstar9988 at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-10-09  2:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-10-09 02:11 -------
Did you change config.gcc ?
It contains the following line:
        tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h
i386/sysv4.h sol2.h"

Which means i386/att.h should be included and therefor define ASM_SHORT.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug target/37777] error: 'ASM_SHORT' undeclared (first use in this function)
  2008-10-09  1:57 [Bug bootstrap/37777] New: error: 'ASM_SHORT' undeclared (first use in this function) cnstar9988 at gmail dot com
  2008-10-09  2:12 ` [Bug target/37777] " pinskia at gcc dot gnu dot org
@ 2008-10-09  2:16 ` cnstar9988 at gmail dot com
  2008-10-09 11:26 ` cnstar9988 at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cnstar9988 at gmail dot com @ 2008-10-09  2:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from cnstar9988 at gmail dot com  2008-10-09 02:14 -------
yes, I changed config.gcc, to workaround PR33100.
I want to build gcc 4.3.2 on solaris 10.

Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc      (revision 140759)
+++ gcc/config.gcc      (working copy)
@@ -1205,7 +1205,10 @@ i[34567]86-*-solaris2*)
        *-*-solaris2.1[0-9]*)
                tm_file="${tm_file} i386/x86-64.h i386/sol2-10.h"
                tm_defines="${tm_defines} TARGET_BI_ARCH=1"
-               tmake_file="$tmake_file i386/t-crtstuff i386/t-sol2-10"
+               tmake_file="$tmake_file i386/t-sol2-10"
+               if test x$gnu_ld = xyes; then
+                       tmake_file="$tmake_file i386/t-crtstuff"
+               fi
                need_64bit_hwint=yes
                case X"${with_cpu}" in

Xgeneric|Xcore2|Xnocona|Xx86-64|Xamdfam10|Xbarcelona|Xk8|Xopteron|Xathlon64|Xathlon-fx)


-- 


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


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

* [Bug target/37777] error: 'ASM_SHORT' undeclared (first use in this function)
  2008-10-09  1:57 [Bug bootstrap/37777] New: error: 'ASM_SHORT' undeclared (first use in this function) cnstar9988 at gmail dot com
  2008-10-09  2:12 ` [Bug target/37777] " pinskia at gcc dot gnu dot org
  2008-10-09  2:16 ` cnstar9988 at gmail dot com
@ 2008-10-09 11:26 ` cnstar9988 at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cnstar9988 at gmail dot com @ 2008-10-09 11:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from cnstar9988 at gmail dot com  2008-10-09 11:25 -------
sorry, closed.


-- 

cnstar9988 at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2008-10-09 11:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-09  1:57 [Bug bootstrap/37777] New: error: 'ASM_SHORT' undeclared (first use in this function) cnstar9988 at gmail dot com
2008-10-09  2:12 ` [Bug target/37777] " pinskia at gcc dot gnu dot org
2008-10-09  2:16 ` cnstar9988 at gmail dot com
2008-10-09 11:26 ` cnstar9988 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).