public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/32788]  New: Sun Studio 12 Undefined symbol addl
@ 2007-07-17  7:44 markwright at internode dot on dot net
  2007-07-17  7:53 ` [Bug inline-asm/32788] " markwright at internode dot on dot net
  0 siblings, 1 reply; 2+ messages in thread
From: markwright at internode dot on dot net @ 2007-07-17  7:44 UTC (permalink / raw)
  To: gcc-bugs

Compiling gcc-4.2.1-RC-20070712 with Sun Studio 12 on Solaris Express
Community Edition b66:

goanna% CC -V
CC: Sun C++ 5.9 SunOS_i386 2007/05/03
goanna%

With the environment variables:

CXXCPP=CC -E -Xs
CPP=cc -E -Xs
LD=/opt/jdsbld/bin/ld-wrapper
CXX64=/opt/SunStudio12/SUNWspro/bin/CC
CXX32=/opt/SunStudio12/SUNWspro/bin/CC
CXX=/opt/SunStudio12/SUNWspro/bin/CC
CC64=/opt/SunStudio12/SUNWspro/bin/cc
CC32=/opt/SunStudio12/SUNWspro/bin/cc
CC=/opt/SunStudio12/SUNWspro/bin/cc
CCDIR=/opt/SunStudio12/SUNWspro/bin

Configured like:

goanna% pwd
/h/goanna/2/ts/gcc/gcc-4.2.1-RC-20070712
goanna% mkdir objdir
goanna% cd objdir
goanna% ../configure --prefix=/h/goanna/1/s_5.11/gcc --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared
...

The make fails with:

/opt/SunStudio12/SUNWspro/bin/cc -c   -g -DIN_GCC     -DHAVE_CONFIG_H -I. -I.
-I../../gcc -I../../gcc/. -I../../gcc/../include -I./../intl
-I../../gcc/../libcpp/include  -I../../gcc/../libdecnumber -I../libdecnumber   
-I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I./../intl
-I../../gcc/../libcpp/include  -I../../gcc/../libdecnumber -I../libdecnumber
../../gcc/config/i386/driver-i386.c
"../../gcc/config/i386/driver-i386.c", line 96: warning: parameter in inline
asm statement unused: %0
"../../gcc/config/i386/driver-i386.c", line 96: warning: parameter in inline
asm statement unused: %2
"../../gcc/config/i386/driver-i386.c", line 96: warning: parameter in inline
asm statement unused: %3
"../../gcc/config/i386/driver-i386.c", line 96: warning: parameter in inline
asm statement unused: %4
"../../gcc/config/i386/driver-i386.c", line 103: warning: parameter in inline
asm statement unused: %0
"../../gcc/config/i386/driver-i386.c", line 103: warning: parameter in inline
asm statement unused: %2
"../../gcc/config/i386/driver-i386.c", line 103: warning: parameter in inline
asm statement unused: %3
"../../gcc/config/i386/driver-i386.c", line 103: warning: parameter in inline
asm statement unused: %4
"../../gcc/config/i386/driver-i386.c", line 113: warning: parameter in inline
asm statement unused: %0
"../../gcc/config/i386/driver-i386.c", line 113: warning: parameter in inline
asm statement unused: %2
"../../gcc/config/i386/driver-i386.c", line 113: warning: parameter in inline
asm statement unused: %3
"../../gcc/config/i386/driver-i386.c", line 113: warning: parameter in inline
asm statement unused: %4
"../../gcc/config/i386/driver-i386.c", line 117: warning: parameter in inline
asm statement unused: %0
"../../gcc/config/i386/driver-i386.c", line 117: warning: parameter in inline
asm statement unused: %2
"../../gcc/config/i386/driver-i386.c", line 117: warning: parameter in inline
asm statement unused: %3
"../../gcc/config/i386/driver-i386.c", line 117: warning: parameter in inline
asm statement unused: %4
"../../gcc/config/i386/driver-i386.c", line 118: warning: integer overflow
detected: op "<<"
/opt/SunStudio12/SUNWspro/bin/cc   -g -DIN_GCC     -DHAVE_CONFIG_H  -o xgcc
gcc.o opts-common.o gcc-options.o gccspec.o \
  intl.o prefix.o version.o driver-i386.o  ../libcpp/libcpp.a
./../intl/libintl.a  ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
Undefined                       first referenced
 symbol                             in file
addl                                driver-i386.o
ld: fatal: Symbol referencing errors. No output written to xgcc
make[3]: *** [xgcc] Error 1
make[3]: Leaving directory
`/h/goanna/2/ts/gcc/gcc-4.2.1-RC-20070712/objdir/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/h/goanna/2/ts/gcc/gcc-4.2.1-RC-20070712/objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/h/goanna/2/ts/gcc/gcc-4.2.1-RC-20070712/objdir'
make: *** [all] Error 2

Compilation exited abnormally with code 2 at Mon Jul 16 23:17:21


-- 
           Summary: Sun Studio 12 Undefined symbol addl
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: markwright at internode dot on dot net
 GCC build triplet: i386-pc-solaris2.11
  GCC host triplet: i386-pc-solaris2.11
GCC target triplet: i386-pc-solaris2.11


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


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

* [Bug inline-asm/32788] Sun Studio 12 Undefined symbol addl
  2007-07-17  7:44 [Bug inline-asm/32788] New: Sun Studio 12 Undefined symbol addl markwright at internode dot on dot net
@ 2007-07-17  7:53 ` markwright at internode dot on dot net
  0 siblings, 0 replies; 2+ messages in thread
From: markwright at internode dot on dot net @ 2007-07-17  7:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from markwright at internode dot on dot net  2007-07-17 07:53 -------
Sorry, accidently created a duplicate of 32787, closing 32788.

*** This bug has been marked as a duplicate of 32787 ***


-- 

markwright at internode dot on dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2007-07-17  7:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-17  7:44 [Bug inline-asm/32788] New: Sun Studio 12 Undefined symbol addl markwright at internode dot on dot net
2007-07-17  7:53 ` [Bug inline-asm/32788] " markwright at internode dot on dot net

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