NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/38053: can't cross-build using xcode 3.0 on os x 10.5/ppc
>Number: 38053
>Category: toolchain
>Synopsis: can't cross-build using xcode 3.0 on os x 10.5/ppc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 18 14:50:00 +0000 2008
>Originator: matthew sporleder
>Release: current
>Organization:
mspo.com
>Environment:
leopard/ppc
>Description:
The tools version of gcc refuses to build on osx/ppc due to:
/usr/include/ppc/_structs.h
/usr/include/mach/ppc/_structs.h
Which causes problems for
src/tools/gcc/../../gnu/dist/gcc4/gcc/config/rs6000/host-darwin.c
It seems that you can build the toolchain if you:
#def __DARWIN_UNIX03 0 in that file, but you end up with a non-working compiler.
I have also built tools with HOST_CFLAGS="-D__DARWIN_UNIX03=0" and gotten the
tools to build, but I haven't managed to get a successful -current build with
those tools yet. (I've only tried twice, so it may have been not building at
the time)
The real problems seems to be that gcc detects __DARWIN_UNIX03, which uses some
different definitions from _strcuts.h for rs6000 (whatever that is -- weird ibm
arch?).
>How-To-Repeat:
build.sh -m i386 tools on leopard/ppc.
>Fix:
Home |
Main Index |
Thread Index |
Old Index