This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/42243] New: [4.5 Regression] powerpc-apple-darwin9 bootstrap broken at ffi_darwin.c
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2009 18:52:30 -0000
- Subject: [Bug bootstrap/42243] New: [4.5 Regression] powerpc-apple-darwin9 bootstrap broken at ffi_darwin.c
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Bootstrap on powerpc-apple-darwin9 at revision 154872 is broken:
...
libtool: compile: /opt/gcc/darwin_buildw/./gcc/xgcc
-B/opt/gcc/darwin_buildw/./gcc/ -B/opt/gcc/gcc4.5w/powerpc-apple-darwin9/bin/
-B/opt/gcc/gcc4.5w/powerpc-apple-darwin9/lib/ -isystem
/opt/gcc/gcc4.5w/powerpc-apple-darwin9/include -isystem
/opt/gcc/gcc4.5w/powerpc-apple-darwin9/sys-include -m64 -DHAVE_CONFIG_H -I.
-I../../../../gcc-4.5-work/libffi -I. -I../../../../gcc-4.5-work/libffi/include
-Iinclude -I../../../../gcc-4.5-work/libffi/src -Wall -g -fexceptions -g -O2
-m64 -MT src/powerpc/ffi_darwin.lo -MD -MP -MF src/powerpc/.deps/ffi_darwin.Tpo
-c ../../../../gcc-4.5-work/libffi/src/powerpc/ffi_darwin.c -fno-common -DPIC
-o src/powerpc/.libs/ffi_darwin.o
../../../../gcc-4.5-work/libffi/src/powerpc/ffi_darwin.c: In function
'ffi_prep_args':
../../../../gcc-4.5-work/libffi/src/powerpc/ffi_darwin.c:160:6: error: lvalue
required as increment operand
../../../../gcc-4.5-work/libffi/src/powerpc/ffi_darwin.c: In function
'ffi_call':
../../../../gcc-4.5-work/libffi/src/powerpc/ffi_darwin.c:499:6: warning:
passing argument 6 of 'ffi_call_AIX' from incompatible pointer type
../../../../gcc-4.5-work/libffi/src/powerpc/ffi_darwin.c:472:13: note: expected
'void (*)(void)' but argument is of type 'void (*)(struct extended_cif *, long
unsigned int * const)'
../../../../gcc-4.5-work/libffi/src/powerpc/ffi_darwin.c:503:9: warning:
passing argument 6 of 'ffi_call_DARWIN' from incompatible pointer type
../../../../gcc-4.5-work/libffi/src/powerpc/ffi_darwin.c:474:13: note: expected
'void (*)(void)' but argument is of type 'void (*)(struct extended_cif *, long
unsigned int * const)'
...
Likely due to revision 154855:
Subject: Bug 35484
Author: dje
Date: Mon Nov 30 23:34:33 2009
New Revision: 154855
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154855
Log:
2009-11-30 David Edelsohn <edelsohn@gnu.org>
PR target/35484
* src/powerpc/ffitarget.h (POWERPC64): Define for PPC64 Linux and
AIX64.
* src/powerpc/aix.S: Implement AIX64 version.
* src/powerpc/aix_closure.S: Implement AIX64 version.
(ffi_closure_ASM): Use extsb, lha and displament addresses.
* src/powerpc/ffi_darwin.c (ffi_prep_args): Implement AIX64
support.
(ffi_prep_cif_machdep): Same.
(ffi_call): Same.
(ffi_closure_helper_DARWIN): Same.
Modified:
trunk/libffi/ChangeLog
trunk/libffi/src/powerpc/aix.S
trunk/libffi/src/powerpc/aix_closure.S
trunk/libffi/src/powerpc/ffi_darwin.c
trunk/libffi/src/powerpc/ffitarget.h
See also http://gcc.gnu.org/ml/gcc-regression/2009-12/msg00004.html .
--
Summary: [4.5 Regression] powerpc-apple-darwin9 bootstrap broken
at ffi_darwin.c
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
GCC build triplet: powerpc-apple-darwin9
GCC host triplet: powerpc-apple-darwin9
GCC target triplet: powerpc-apple-darwin9
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42243