public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/13523] New: Can't compile gcc as crosscompiler for powerpc-unknown-linux-gnu
@ 2003-12-30 18:11 gcc-bugzilla at gcc dot gnu dot org
  2003-12-30 19:22 ` [Bug target/13523] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2003-12-30 18:11 UTC (permalink / raw)
  To: gcc-bugs

	When preprocessor includes file gcc/config/rs6000/linux.h in file gcc/libgcc2.c, string 36.
	Preprocessor can't include signal.h (linux.h 89:20).
	After this error apears errors with  struct kernel_old_ucontext.

Environment:
System: Linux angel 2.4.22 #2 Mon Sep 1 13:37:54 MSD 2003 i686 GNU/Linux
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: powerpc-unknown-linux-gnu
configured with: ./configure --prefix=/archive/samba/soft/cross --target=powerpc-unknown-linux-gnu

How-To-Repeat:
        This bug apears on Debian Linux unstable branch, and installed gcc-3.3.2 as default compiler
        export PATH=/archive/samba/soft/cross/bin
	Build binutils-2.14 for i686 and prefix=/archive/samba/soft/cross
	Build binutils-2.14 for ppc-linux prefix=/archive/samba/soft/cross target=ppc-linux
	build gcc for i686
	In gcc-3.3.2 source catalog run ./configure --prefix=/archive/samba/soft/cross --target=powerpc-unknown-linux-gnu
	make
	after this steps bug apears

-- 
           Summary: Can't compile gcc as crosscompiler for powerpc-unknown-
                    linux-gnu
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: salnikov at angel dot cs dot msu dot su
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu


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


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

* [Bug target/13523] Can't compile gcc as crosscompiler for powerpc-unknown-linux-gnu
  2003-12-30 18:11 [Bug target/13523] New: Can't compile gcc as crosscompiler for powerpc-unknown-linux-gnu gcc-bugzilla at gcc dot gnu dot org
@ 2003-12-30 19:22 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-30 19:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-30 18:23 -------
This is a dup of invalid bug 11894:
You have to extract headers from glibc (using install-headers) and then
point --with-headers at that.

--with-sysroot is better but not available in 3.3.

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

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


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


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

end of thread, other threads:[~2003-12-30 18:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-30 18:11 [Bug target/13523] New: Can't compile gcc as crosscompiler for powerpc-unknown-linux-gnu gcc-bugzilla at gcc dot gnu dot org
2003-12-30 19:22 ` [Bug target/13523] " pinskia at gcc dot gnu 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).