public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/40148]  New: gcc 4.4.0 fails to build on Sparc Solaris 10
@ 2009-05-14 14:01 peter dot kruse at lbbw dot de
  2009-05-14 14:04 ` [Bug c/40148] " peter dot kruse at lbbw dot de
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: peter dot kruse at lbbw dot de @ 2009-05-14 14:01 UTC (permalink / raw)
  To: gcc-bugs

Hello,

trying to compile gcc 4.4.0 results in the following error:

-----------------------8<----------------------------------------------------
/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/./gcc/xgcc
-B/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/./gcc/
-B/apps/local/gcc/4.4.0/sparc-sun-solaris2.10/bin/
-B/apps/local/gcc/4.4.0/sparc-sun-solaris2.10/lib/ -isystem
/apps/local/gcc/4.4.0/sparc-sun-solaris2.10/include -isystem
/apps/local/gcc/4.4.0/sparc-sun-solaris2.10/sys-include -g
-I/apps/local/gcc/4.3.2/include -I/apps/prod/gcc/4.3.2/include -fPIC -m64 -c -o
/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/sparc-sun-solaris2.10/sparcv9/libgcc/crt1.o
-x assembler-with-cpp ../../gcc-4.4.0/gcc/config/sparc/sol2-c1.asm
/usr/ccs/bin/as: "/var/tmp//ccLZqEDx.s": , approx line 92: internal error:
pic_relocs(): hh reltype?
make[6]: ***
[/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/sparc-sun-solaris2.10/sparcv9/libgcc/crt1.o]
Error 1
make[6]: Leaving directory
`/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/gcc'
make[5]: *** [gcc-extra-parts] Error 2
make[5]: Leaving directory
`/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/sparc-sun-solaris2.10/sparcv9/libgcc'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory
`/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/sparc-sun-solaris2.10/libgcc'
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory
`/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/sparc-sun-solaris2.10/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory
`/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory
`/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir'
make: *** [bootstrap-lean] Error 2
-----------------------8<----------------------------------------------------

I have run the above "xgcc" command with "-save-temps" and will attach
the resulting sol2-c1.s file.

gcc has been configured with:

../gcc-4.4.0/configure --prefix=/apps/local/gcc/4.4.0 --enable-languages=c,c++
--with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld

and make's argument was "bootstrap-lean"

If I run the above "xgcc" command without the "-m64" argument the build of
crt1.o succeeds.

Thanks,

  Peter


-- 
           Summary: gcc 4.4.0 fails to build on Sparc Solaris 10
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: peter dot kruse at lbbw dot de


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


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

* [Bug c/40148] gcc 4.4.0 fails to build on Sparc Solaris 10
  2009-05-14 14:01 [Bug c/40148] New: gcc 4.4.0 fails to build on Sparc Solaris 10 peter dot kruse at lbbw dot de
@ 2009-05-14 14:04 ` peter dot kruse at lbbw dot de
  2009-05-14 14:12 ` [Bug target/40148] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: peter dot kruse at lbbw dot de @ 2009-05-14 14:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from peter dot kruse at lbbw dot de  2009-05-14 14:03 -------
Created an attachment (id=17867)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17867&action=view)
sol2-c1.s

resulting .s file causing the failure


-- 


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


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

* [Bug target/40148] gcc 4.4.0 fails to build on Sparc Solaris 10
  2009-05-14 14:01 [Bug c/40148] New: gcc 4.4.0 fails to build on Sparc Solaris 10 peter dot kruse at lbbw dot de
  2009-05-14 14:04 ` [Bug c/40148] " peter dot kruse at lbbw dot de
@ 2009-05-14 14:12 ` pinskia at gcc dot gnu dot org
  2009-05-14 14:14 ` [Bug c/40148] " peter dot kruse at lbbw dot de
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-05-14 14:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2009-05-14 14:12 -------
This sounds really like a bug in solaris's as and you should be reporting it to
Sun.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal
          Component|c                           |target
 GCC target triplet|                            |sparc-sun-solaris2.10


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


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

* [Bug c/40148] gcc 4.4.0 fails to build on Sparc Solaris 10
  2009-05-14 14:01 [Bug c/40148] New: gcc 4.4.0 fails to build on Sparc Solaris 10 peter dot kruse at lbbw dot de
  2009-05-14 14:04 ` [Bug c/40148] " peter dot kruse at lbbw dot de
  2009-05-14 14:12 ` [Bug target/40148] " pinskia at gcc dot gnu dot org
@ 2009-05-14 14:14 ` peter dot kruse at lbbw dot de
  2009-05-14 14:17 ` [Bug target/40148] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: peter dot kruse at lbbw dot de @ 2009-05-14 14:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from peter dot kruse at lbbw dot de  2009-05-14 14:14 -------
(In reply to comment #2)
> This sounds really like a bug in solaris's as and you should be reporting it to
> Sun.
> 

Thanks for the speed-of-light response.  I'm just thinking, could it be related
to the "-fPIC" argument (I found that in my CFLAGS)?


-- 

peter dot kruse at lbbw dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major
          Component|target                      |c


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


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

* [Bug target/40148] gcc 4.4.0 fails to build on Sparc Solaris 10
  2009-05-14 14:01 [Bug c/40148] New: gcc 4.4.0 fails to build on Sparc Solaris 10 peter dot kruse at lbbw dot de
                   ` (2 preceding siblings ...)
  2009-05-14 14:14 ` [Bug c/40148] " peter dot kruse at lbbw dot de
@ 2009-05-14 14:17 ` pinskia at gcc dot gnu dot org
  2009-05-14 15:16 ` [Bug c/40148] " ebotcazou at gcc dot gnu dot org
  2009-05-15  5:37 ` peter dot kruse at lbbw dot de
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-05-14 14:17 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal
          Component|c                           |target
           Keywords|                            |build


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


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

* [Bug c/40148] gcc 4.4.0 fails to build on Sparc Solaris 10
  2009-05-14 14:01 [Bug c/40148] New: gcc 4.4.0 fails to build on Sparc Solaris 10 peter dot kruse at lbbw dot de
                   ` (3 preceding siblings ...)
  2009-05-14 14:17 ` [Bug target/40148] " pinskia at gcc dot gnu dot org
@ 2009-05-14 15:16 ` ebotcazou at gcc dot gnu dot org
  2009-05-15  5:37 ` peter dot kruse at lbbw dot de
  5 siblings, 0 replies; 7+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-05-14 15:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ebotcazou at gcc dot gnu dot org  2009-05-14 15:16 -------
> Thanks for the speed-of-light response.  I'm just thinking, could it be related
> to the "-fPIC" argument (I found that in my CFLAGS)?

Yes, please don't set CFLAGS when building GCC.  I cannot reproduce.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |major
             Status|UNCONFIRMED                 |RESOLVED
          Component|target                      |c
         Resolution|                            |INVALID


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


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

* [Bug c/40148] gcc 4.4.0 fails to build on Sparc Solaris 10
  2009-05-14 14:01 [Bug c/40148] New: gcc 4.4.0 fails to build on Sparc Solaris 10 peter dot kruse at lbbw dot de
                   ` (4 preceding siblings ...)
  2009-05-14 15:16 ` [Bug c/40148] " ebotcazou at gcc dot gnu dot org
@ 2009-05-15  5:37 ` peter dot kruse at lbbw dot de
  5 siblings, 0 replies; 7+ messages in thread
From: peter dot kruse at lbbw dot de @ 2009-05-15  5:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from peter dot kruse at lbbw dot de  2009-05-15 05:36 -------
(In reply to comment #4)
> > Thanks for the speed-of-light response.  I'm just thinking, could it be related
> > to the "-fPIC" argument (I found that in my CFLAGS)?
> 
> Yes, please don't set CFLAGS when building GCC.  I cannot reproduce.
> 

Alright, without -fPIC it compiles, I didn't have this problem with other
versions of gcc.  But ok, you're never too old to learn.


-- 


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


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

end of thread, other threads:[~2009-05-15  5:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-14 14:01 [Bug c/40148] New: gcc 4.4.0 fails to build on Sparc Solaris 10 peter dot kruse at lbbw dot de
2009-05-14 14:04 ` [Bug c/40148] " peter dot kruse at lbbw dot de
2009-05-14 14:12 ` [Bug target/40148] " pinskia at gcc dot gnu dot org
2009-05-14 14:14 ` [Bug c/40148] " peter dot kruse at lbbw dot de
2009-05-14 14:17 ` [Bug target/40148] " pinskia at gcc dot gnu dot org
2009-05-14 15:16 ` [Bug c/40148] " ebotcazou at gcc dot gnu dot org
2009-05-15  5:37 ` peter dot kruse at lbbw dot de

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