public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/16004] New: cross compiler for sparc64 doesn't build.
@ 2004-06-15 16:31 pluto at pld-linux dot org
  2004-06-15 16:34 ` [Bug libstdc++/16004] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: pluto at pld-linux dot org @ 2004-06-15 16:31 UTC (permalink / raw)
  To: gcc-bugs

I have a sparc64 with installed sparc(32) distro. 
Now I can't build a new cross-gcc (3.3.4 works fine). 
 
# error 
(...) 
checking for main in -lm... configure: error: Link tests are not allowed 
after GCC_NO_EXECUTABLES. 
make: *** [configure-target-libstdc++-v3] Error 1 
make: Leaving directory 
`/home/users/support2/rpm/BUILD/gcc-3.4-20040611/obj-sparc64-pld-linux' 
 
# buildlog 
http://149.156.124.14/~pluto/tmp/crosssparc64-gcc.log 
 
$ cat /proc/cpuinfo 
cpu             : TI UltraSparc II  (BlackBird) 
fpu             : UltraSparc II integrated FPU 
promlib         : Version 3 Revision 12 
prom            : 3.12.3 
type            : sun4u 
ncpus probed    : 4 
ncpus active    : 4 
Cpu0Bogo        : 591.46 
Cpu0ClkTck      : 0000000011a49a00 
Cpu1Bogo        : 591.46 
Cpu1ClkTck      : 0000000011a49a00 
Cpu2Bogo        : 591.46 
Cpu2ClkTck      : 0000000011a49a00 
Cpu3Bogo        : 591.46 
Cpu3ClkTck      : 0000000011a49a00 
MMU Type        : Spitfire 
State: 
CPU0:           online 
CPU1:           online 
CPU2:           online 
CPU3:           online

-- 
           Summary: cross compiler for sparc64 doesn't build.
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at pld-linux dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-pld-linux
  GCC host triplet: sparc-pld-linux
GCC target triplet: sparc-pld-linux


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


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

* [Bug libstdc++/16004] cross compiler for sparc64 doesn't build.
  2004-06-15 16:31 [Bug bootstrap/16004] New: cross compiler for sparc64 doesn't build pluto at pld-linux dot org
@ 2004-06-15 16:34 ` pinskia at gcc dot gnu dot org
  2004-07-06 22:21 ` bkoz at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-15 16:34 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |libstdc++
           Keywords|                            |build


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


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

* [Bug libstdc++/16004] cross compiler for sparc64 doesn't build.
  2004-06-15 16:31 [Bug bootstrap/16004] New: cross compiler for sparc64 doesn't build pluto at pld-linux dot org
  2004-06-15 16:34 ` [Bug libstdc++/16004] " pinskia at gcc dot gnu dot org
@ 2004-07-06 22:21 ` bkoz at gcc dot gnu dot org
  2004-07-06 23:00 ` pluto at pld-linux dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-07-06 22:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bkoz at gcc dot gnu dot org  2004-07-06 22:21 -------

please attach the build log, instead of pointing to it. Your link is dead...

also please detail your directory layout, your configuration commands, your
sources. In short, we should be able to reproduce your error ourselves from your
description, and that is currently not possible.

-benjamin

-- 


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


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

* [Bug libstdc++/16004] cross compiler for sparc64 doesn't build.
  2004-06-15 16:31 [Bug bootstrap/16004] New: cross compiler for sparc64 doesn't build pluto at pld-linux dot org
  2004-06-15 16:34 ` [Bug libstdc++/16004] " pinskia at gcc dot gnu dot org
  2004-07-06 22:21 ` bkoz at gcc dot gnu dot org
@ 2004-07-06 23:00 ` pluto at pld-linux dot org
  2004-07-06 23:03 ` pluto at pld-linux dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pluto at pld-linux dot org @ 2004-07-06 23:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at pld-linux dot org  2004-07-06 23:00 -------
Created an attachment (id=6704)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6704&action=view)
buildlog


-- 


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


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

* [Bug libstdc++/16004] cross compiler for sparc64 doesn't build.
  2004-06-15 16:31 [Bug bootstrap/16004] New: cross compiler for sparc64 doesn't build pluto at pld-linux dot org
                   ` (2 preceding siblings ...)
  2004-07-06 23:00 ` pluto at pld-linux dot org
@ 2004-07-06 23:03 ` pluto at pld-linux dot org
  2004-07-07  1:22 ` bkoz at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pluto at pld-linux dot org @ 2004-07-06 23:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at pld-linux dot org  2004-07-06 23:03 -------
$ ls -l /usr/sparc* 
/usr/sparc-linux-uclibc: 
total 4 
drwxr-xr-x  2 root root 4096 Jul  1 10:50 lib 
 
/usr/sparc64-pld-linux: 
total 0 
drwxr-xr-x  2 root root 67 Jun 17 13:22 bin     <- crosssparc64-binutils 
drwxr-xr-x  3 root root 35 Jun 17 13:18 lib     <- crosssparc64-binutils 
 
lrwxrwxrwx  1 root root 12 Jun 15 09:18 include -> /usr/include 
^^^^ include/asm/ contains wrappers ($ifdef __arch64__) to sparc/sparc64 
headers. 
 

-- 


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


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

* [Bug libstdc++/16004] cross compiler for sparc64 doesn't build.
  2004-06-15 16:31 [Bug bootstrap/16004] New: cross compiler for sparc64 doesn't build pluto at pld-linux dot org
                   ` (3 preceding siblings ...)
  2004-07-06 23:03 ` pluto at pld-linux dot org
@ 2004-07-07  1:22 ` bkoz at gcc dot gnu dot org
  2004-07-07  6:32 ` pluto at pld-linux dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-07-07  1:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bkoz at gcc dot gnu dot org  2004-07-07 01:22 -------

You should look at 14939, if you are using uclibc.

-benjamin

-- 


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


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

* [Bug libstdc++/16004] cross compiler for sparc64 doesn't build.
  2004-06-15 16:31 [Bug bootstrap/16004] New: cross compiler for sparc64 doesn't build pluto at pld-linux dot org
                   ` (4 preceding siblings ...)
  2004-07-07  1:22 ` bkoz at gcc dot gnu dot org
@ 2004-07-07  6:32 ` pluto at pld-linux dot org
  2004-07-20  0:38 ` bkoz at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pluto at pld-linux dot org @ 2004-07-07  6:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at pld-linux dot org  2004-07-07 06:32 -------
(In reply to comment #4) 
> You should look at 14939, if you are using uclibc. 
 
I don't use uclibc-pld-linux-gcc to compile a crosssparc64-*. 

-- 


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


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

* [Bug libstdc++/16004] cross compiler for sparc64 doesn't build.
  2004-06-15 16:31 [Bug bootstrap/16004] New: cross compiler for sparc64 doesn't build pluto at pld-linux dot org
                   ` (5 preceding siblings ...)
  2004-07-07  6:32 ` pluto at pld-linux dot org
@ 2004-07-20  0:38 ` bkoz at gcc dot gnu dot org
  2004-07-20  0:40 ` [Bug other/16004] " pinskia at gcc dot gnu dot org
  2004-07-20  9:47 ` pluto at pld-linux dot org
  8 siblings, 0 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-07-20  0:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bkoz at gcc dot gnu dot org  2004-07-20 00:38 -------

This fails before libstdc++. I suspect your configuration or setup is incorrect,
as 32/64 crosses for other linux hosts (ppc, x86_64) seem to work without incident.

Here's what you should include (note: all necessary bits, not a huge file....)

hecking whether the linker (/usr/sparc64-pld-linux/bin/ld -m elf32_sparc)
supports shared libraries... 
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse /usr/sparc64-pld-linux/bin/nm output... make: ***
[configure-target-libiberty] Error 1
make: *** Waiting for unfinished jobs....

You should try to figure out why this happens.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor


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


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

* [Bug other/16004] cross compiler for sparc64 doesn't build.
  2004-06-15 16:31 [Bug bootstrap/16004] New: cross compiler for sparc64 doesn't build pluto at pld-linux dot org
                   ` (6 preceding siblings ...)
  2004-07-20  0:38 ` bkoz at gcc dot gnu dot org
@ 2004-07-20  0:40 ` pinskia at gcc dot gnu dot org
  2004-07-20  9:47 ` pluto at pld-linux dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-20  0:40 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
          Component|libstdc++                   |other


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


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

* [Bug other/16004] cross compiler for sparc64 doesn't build.
  2004-06-15 16:31 [Bug bootstrap/16004] New: cross compiler for sparc64 doesn't build pluto at pld-linux dot org
                   ` (7 preceding siblings ...)
  2004-07-20  0:40 ` [Bug other/16004] " pinskia at gcc dot gnu dot org
@ 2004-07-20  9:47 ` pluto at pld-linux dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pluto at pld-linux dot org @ 2004-07-20  9:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at pld-linux dot org  2004-07-20 09:47 -------
(In reply to comment #6) 
> This fails before libstdc++. I suspect your configuration or setup is 
incorrect, 
> as 32/64 crosses for other linux hosts (ppc, x86_64) seem to work without 
incident. 
>  
> Here's what you should include (note: all necessary bits, not a huge 
file....) 
>  
> hecking whether the linker (/usr/sparc64-pld-linux/bin/ld -m elf32_sparc) 
> supports shared libraries...  
> checking how to hardcode library paths into programs... immediate 
> checking whether stripping libraries is possible... yes 
> checking dynamic linker characteristics... GNU/Linux ld.so 
> checking command to parse /usr/sparc64-pld-linux/bin/nm output... make: *** 
> [configure-target-libiberty] Error 1 
> make: *** Waiting for unfinished jobs.... 
>  
> You should try to figure out why this happens. 
>  
 
configuration is correct but parallel build (-j4) casuing errors. 
(-j1 works fine). 

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


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


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

end of thread, other threads:[~2004-07-20  9:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-15 16:31 [Bug bootstrap/16004] New: cross compiler for sparc64 doesn't build pluto at pld-linux dot org
2004-06-15 16:34 ` [Bug libstdc++/16004] " pinskia at gcc dot gnu dot org
2004-07-06 22:21 ` bkoz at gcc dot gnu dot org
2004-07-06 23:00 ` pluto at pld-linux dot org
2004-07-06 23:03 ` pluto at pld-linux dot org
2004-07-07  1:22 ` bkoz at gcc dot gnu dot org
2004-07-07  6:32 ` pluto at pld-linux dot org
2004-07-20  0:38 ` bkoz at gcc dot gnu dot org
2004-07-20  0:40 ` [Bug other/16004] " pinskia at gcc dot gnu dot org
2004-07-20  9:47 ` pluto at pld-linux dot org

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