This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13523] New: Can't compile gcc as crosscompiler for powerpc-unknown-linux-gnu
- From: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Dec 2003 18:00:50 -0000
- Subject: [Bug target/13523] New: Can't compile gcc as crosscompiler for powerpc-unknown-linux-gnu
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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