public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin
@ 2015-01-12 20:18 howarth at bromo dot med.uc.edu
2015-01-12 20:22 ` [Bug libffi/64572] " howarth at bromo dot med.uc.edu
` (24 more replies)
0 siblings, 25 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-12 20:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
Bug ID: 64572
Summary: r219477 breaks bootstrap on x86_64 darwin
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libffi
Assignee: unassigned at gcc dot gnu.org
Reporter: howarth at bromo dot med.uc.edu
The commit of...
r219477 | rth | 2015-01-12 11:19:59 -0500 (Mon, 12 Jan 2015) | 1 line
Merge libffi to upstream commit c82cc159426d8d4402375fa1ae3f045b9cf82e16
breaks the bootstrap on x86_64 darwin with the linkage error...
make[4]: Entering directory
'/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/libffi'
/bin/sh ./libtool --tag=CC --mode=link
/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./gcc/xgcc
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./gcc/
-B/sw/lib/gcc5.0/x86_64-apple-darwin14.1.0/bin/
-B/sw/lib/gcc5.0/x86_64-apple-darwin14.1.0/lib/ -isystem
/sw/lib/gcc5.0/x86_64-apple-darwin14.1.0/include -isystem
/sw/lib/gcc5.0/x86_64-apple-darwin14.1.0/sys-include -Wall -g -fexceptions
-g -O2 -no-undefined -version-info `grep -v '^#'
../../../gcc-5-20150112/libffi/libtool-version` -o libffi.la -rpath
/sw/lib/gcc5.0/lib src/prep_cif.lo src/types.lo src/raw_api.lo
src/java_raw_api.lo src/closures.lo src/x86/darwin64_c.lo src/x86/darwin64.lo
libtool: link: /sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./gcc/xgcc
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./gcc/
-B/sw/lib/gcc5.0/x86_64-apple-darwin14.1.0/bin/
-B/sw/lib/gcc5.0/x86_64-apple-darwin14.1.0/lib/ -isystem
/sw/lib/gcc5.0/x86_64-apple-darwin14.1.0/include -isystem
/sw/lib/gcc5.0/x86_64-apple-darwin14.1.0/sys-include -dynamiclib -o
.libs/libffi.4.dylib src/.libs/prep_cif.o src/.libs/types.o
src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o
src/x86/.libs/darwin64_c.o src/x86/.libs/darwin64.o -install_name
/sw/lib/gcc5.0/lib/libffi.4.dylib -compatibility_version 5 -current_version 5.1
-Wl,-single_module
Undefined symbols for architecture x86_64:
"_ffi_prep_raw_closure_loc", referenced from:
_ffi_prep_raw_closure in raw_api.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
While libffi/src/x86/darwin_c.c provides ffi_prep_raw_closure_loc for -m32, the
libffi/src/x86/darwin64_c.c, used for -m64, does not.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
@ 2015-01-12 20:22 ` howarth at bromo dot med.uc.edu
2015-01-12 20:45 ` rth at gcc dot gnu.org
` (23 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-12 20:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #1 from howarth at bromo dot med.uc.edu ---
Observed with...
../gcc-5-20150112/configure --prefix=/sw --prefix=/sw/lib/gcc5.0
--mandir=/sw/share/man --infodir=/sw/lib/gcc5.0/info
--enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-isl=/sw --with-mpc=/sw --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-5.0
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
2015-01-12 20:22 ` [Bug libffi/64572] " howarth at bromo dot med.uc.edu
@ 2015-01-12 20:45 ` rth at gcc dot gnu.org
2015-01-12 22:55 ` howarth at bromo dot med.uc.edu
` (22 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: rth at gcc dot gnu.org @ 2015-01-12 20:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
Richard Henderson <rth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2015-01-12
Ever confirmed|0 |1
--- Comment #2 from Richard Henderson <rth at gcc dot gnu.org> ---
At the bottom of libffi/configure.host, try
X86_64_DARWIN)
SOURCES="darwin64_c.c darwin64.S"
+ TARGET=X86_64
;;
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
2015-01-12 20:22 ` [Bug libffi/64572] " howarth at bromo dot med.uc.edu
2015-01-12 20:45 ` rth at gcc dot gnu.org
@ 2015-01-12 22:55 ` howarth at bromo dot med.uc.edu
2015-01-12 23:03 ` howarth at bromo dot med.uc.edu
` (21 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-12 22:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #3 from howarth at bromo dot med.uc.edu ---
(In reply to Richard Henderson from comment #2)
> At the bottom of libffi/configure.host, try
>
> X86_64_DARWIN)
> SOURCES="darwin64_c.c darwin64.S"
> + TARGET=X86_64
> ;;
While that change eliminates the linkage failure of libffi.4.dylib at -m64 on
x86_64-apple-darwin14, we have a large number of test suite regressions in
libffi.complex and libffi.go.
Native configuration is x86_64-apple-darwin14.1.0
=== libffi tests ===
Schedule of variations:
unix
Running target unix
Using /sw/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /sw/share/dejagnu/config/unix.exp as generic interface file for target.
Using
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150112/libffi/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150112/libffi/testsuite/libffi.call/call.exp
...
Running
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150112/libffi/testsuite/libffi.complex/complex.exp
...
FAIL: libffi.complex/cls_align_complex_float.c -W -Wall -Wno-psabi -O0
execution test
FAIL: libffi.complex/cls_align_complex_float.c -W -Wall -Wno-psabi -O2
execution test
FAIL: libffi.complex/cls_align_complex_float.c -W -Wall -Wno-psabi -O3
execution test
FAIL: libffi.complex/cls_align_complex_float.c -W -Wall -Wno-psabi -Os
execution test
FAIL: libffi.complex/cls_align_complex_float.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/cls_complex_double.c -W -Wall -Wno-psabi -O0 execution
test
FAIL: libffi.complex/cls_complex_double.c -W -Wall -Wno-psabi -O2 execution
test
FAIL: libffi.complex/cls_complex_double.c -W -Wall -Wno-psabi -O3 execution
test
FAIL: libffi.complex/cls_complex_double.c -W -Wall -Wno-psabi -Os execution
test
FAIL: libffi.complex/cls_complex_double.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/cls_complex_float.c -W -Wall -Wno-psabi -O0 execution test
FAIL: libffi.complex/cls_complex_float.c -W -Wall -Wno-psabi -O2 execution test
FAIL: libffi.complex/cls_complex_float.c -W -Wall -Wno-psabi -O3 execution test
FAIL: libffi.complex/cls_complex_float.c -W -Wall -Wno-psabi -Os execution test
FAIL: libffi.complex/cls_complex_float.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/cls_complex_longdouble.c -W -Wall -Wno-psabi -O0 execution
test
FAIL: libffi.complex/cls_complex_longdouble.c -W -Wall -Wno-psabi -O2 execution
test
FAIL: libffi.complex/cls_complex_longdouble.c -W -Wall -Wno-psabi -O3 execution
test
FAIL: libffi.complex/cls_complex_longdouble.c -W -Wall -Wno-psabi -Os execution
test
FAIL: libffi.complex/cls_complex_longdouble.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/cls_complex_struct_float.c -W -Wall -Wno-psabi -O0
execution test
FAIL: libffi.complex/cls_complex_struct_float.c -W -Wall -Wno-psabi -O2
execution test
FAIL: libffi.complex/cls_complex_struct_float.c -W -Wall -Wno-psabi -O3
execution test
FAIL: libffi.complex/cls_complex_struct_float.c -W -Wall -Wno-psabi -Os
execution test
FAIL: libffi.complex/cls_complex_struct_float.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/cls_complex_va_double.c -W -Wall -Wno-psabi -O0 execution
test
FAIL: libffi.complex/cls_complex_va_double.c -W -Wall -Wno-psabi -O2 execution
test
FAIL: libffi.complex/cls_complex_va_double.c -W -Wall -Wno-psabi -O3 execution
test
FAIL: libffi.complex/cls_complex_va_double.c -W -Wall -Wno-psabi -Os execution
test
FAIL: libffi.complex/cls_complex_va_double.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/cls_complex_va_float.c -W -Wall -Wno-psabi -O0 execution
test
FAIL: libffi.complex/cls_complex_va_float.c -W -Wall -Wno-psabi -O2 execution
test
FAIL: libffi.complex/cls_complex_va_float.c -W -Wall -Wno-psabi -O3 execution
test
FAIL: libffi.complex/cls_complex_va_float.c -W -Wall -Wno-psabi -Os execution
test
FAIL: libffi.complex/cls_complex_va_float.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/complex_double.c -W -Wall -Wno-psabi -O0 execution test
FAIL: libffi.complex/complex_double.c -W -Wall -Wno-psabi -O2 execution test
FAIL: libffi.complex/complex_double.c -W -Wall -Wno-psabi -O3 execution test
FAIL: libffi.complex/complex_double.c -W -Wall -Wno-psabi -Os execution test
FAIL: libffi.complex/complex_double.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/complex_float.c -W -Wall -Wno-psabi -O0 execution test
FAIL: libffi.complex/complex_float.c -W -Wall -Wno-psabi -O2 execution test
FAIL: libffi.complex/complex_float.c -W -Wall -Wno-psabi -O3 execution test
FAIL: libffi.complex/complex_float.c -W -Wall -Wno-psabi -Os execution test
FAIL: libffi.complex/complex_float.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/complex_int.c -W -Wall -Wno-psabi -O0 execution test
FAIL: libffi.complex/complex_int.c -W -Wall -Wno-psabi -O2 execution test
FAIL: libffi.complex/complex_int.c -W -Wall -Wno-psabi -O3 execution test
FAIL: libffi.complex/complex_int.c -W -Wall -Wno-psabi -Os execution test
FAIL: libffi.complex/complex_int.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer
execution test
FAIL: libffi.complex/complex_longdouble.c -W -Wall -Wno-psabi -O0 execution
test
FAIL: libffi.complex/complex_longdouble.c -W -Wall -Wno-psabi -O2 execution
test
FAIL: libffi.complex/complex_longdouble.c -W -Wall -Wno-psabi -O3 execution
test
FAIL: libffi.complex/complex_longdouble.c -W -Wall -Wno-psabi -Os execution
test
FAIL: libffi.complex/complex_longdouble.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/many_complex_double.c -W -Wall -Wno-psabi -O0 execution
test
FAIL: libffi.complex/many_complex_double.c -W -Wall -Wno-psabi -O2 execution
test
FAIL: libffi.complex/many_complex_double.c -W -Wall -Wno-psabi -O3 execution
test
FAIL: libffi.complex/many_complex_double.c -W -Wall -Wno-psabi -Os execution
test
FAIL: libffi.complex/many_complex_double.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/many_complex_float.c -W -Wall -Wno-psabi -O0 execution
test
FAIL: libffi.complex/many_complex_float.c -W -Wall -Wno-psabi -O2 execution
test
FAIL: libffi.complex/many_complex_float.c -W -Wall -Wno-psabi -O3 execution
test
FAIL: libffi.complex/many_complex_float.c -W -Wall -Wno-psabi -Os execution
test
FAIL: libffi.complex/many_complex_float.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/many_complex_longdouble.c -W -Wall -Wno-psabi -O0
execution test
FAIL: libffi.complex/many_complex_longdouble.c -W -Wall -Wno-psabi -O2
execution test
FAIL: libffi.complex/many_complex_longdouble.c -W -Wall -Wno-psabi -O3
execution test
FAIL: libffi.complex/many_complex_longdouble.c -W -Wall -Wno-psabi -Os
execution test
FAIL: libffi.complex/many_complex_longdouble.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/return_complex1_double.c -W -Wall -Wno-psabi -O0 execution
test
FAIL: libffi.complex/return_complex1_double.c -W -Wall -Wno-psabi -O2 execution
test
FAIL: libffi.complex/return_complex1_double.c -W -Wall -Wno-psabi -O3 execution
test
FAIL: libffi.complex/return_complex1_double.c -W -Wall -Wno-psabi -Os execution
test
FAIL: libffi.complex/return_complex1_double.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/return_complex1_float.c -W -Wall -Wno-psabi -O0 execution
test
FAIL: libffi.complex/return_complex1_float.c -W -Wall -Wno-psabi -O2 execution
test
FAIL: libffi.complex/return_complex1_float.c -W -Wall -Wno-psabi -O3 execution
test
FAIL: libffi.complex/return_complex1_float.c -W -Wall -Wno-psabi -Os execution
test
FAIL: libffi.complex/return_complex1_float.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/return_complex1_longdouble.c -W -Wall -Wno-psabi -O0
execution test
FAIL: libffi.complex/return_complex1_longdouble.c -W -Wall -Wno-psabi -O2
execution test
FAIL: libffi.complex/return_complex1_longdouble.c -W -Wall -Wno-psabi -O3
execution test
FAIL: libffi.complex/return_complex1_longdouble.c -W -Wall -Wno-psabi -Os
execution test
FAIL: libffi.complex/return_complex1_longdouble.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/return_complex2_double.c -W -Wall -Wno-psabi -O0 execution
test
FAIL: libffi.complex/return_complex2_double.c -W -Wall -Wno-psabi -O2 execution
test
FAIL: libffi.complex/return_complex2_double.c -W -Wall -Wno-psabi -O3 execution
test
FAIL: libffi.complex/return_complex2_double.c -W -Wall -Wno-psabi -Os execution
test
FAIL: libffi.complex/return_complex2_double.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/return_complex2_float.c -W -Wall -Wno-psabi -O0 execution
test
FAIL: libffi.complex/return_complex2_float.c -W -Wall -Wno-psabi -O2 execution
test
FAIL: libffi.complex/return_complex2_float.c -W -Wall -Wno-psabi -O3 execution
test
FAIL: libffi.complex/return_complex2_float.c -W -Wall -Wno-psabi -Os execution
test
FAIL: libffi.complex/return_complex2_float.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/return_complex2_longdouble.c -W -Wall -Wno-psabi -O0
execution test
FAIL: libffi.complex/return_complex2_longdouble.c -W -Wall -Wno-psabi -O2
execution test
FAIL: libffi.complex/return_complex2_longdouble.c -W -Wall -Wno-psabi -O3
execution test
FAIL: libffi.complex/return_complex2_longdouble.c -W -Wall -Wno-psabi -Os
execution test
FAIL: libffi.complex/return_complex2_longdouble.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/return_complex_double.c -W -Wall -Wno-psabi -O0 execution
test
FAIL: libffi.complex/return_complex_double.c -W -Wall -Wno-psabi -O2 execution
test
FAIL: libffi.complex/return_complex_double.c -W -Wall -Wno-psabi -O3 execution
test
FAIL: libffi.complex/return_complex_double.c -W -Wall -Wno-psabi -Os execution
test
FAIL: libffi.complex/return_complex_double.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/return_complex_float.c -W -Wall -Wno-psabi -O0 execution
test
FAIL: libffi.complex/return_complex_float.c -W -Wall -Wno-psabi -O2 execution
test
FAIL: libffi.complex/return_complex_float.c -W -Wall -Wno-psabi -O3 execution
test
FAIL: libffi.complex/return_complex_float.c -W -Wall -Wno-psabi -Os execution
test
FAIL: libffi.complex/return_complex_float.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
FAIL: libffi.complex/return_complex_longdouble.c -W -Wall -Wno-psabi -O0
execution test
FAIL: libffi.complex/return_complex_longdouble.c -W -Wall -Wno-psabi -O2
execution test
FAIL: libffi.complex/return_complex_longdouble.c -W -Wall -Wno-psabi -O3
execution test
FAIL: libffi.complex/return_complex_longdouble.c -W -Wall -Wno-psabi -Os
execution test
FAIL: libffi.complex/return_complex_longdouble.c -W -Wall -Wno-psabi -O2
-fomit-frame-pointer execution test
Running
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150112/libffi/testsuite/libffi.go/go.exp
...
FAIL: libffi.go/aa-direct.c -W -Wall -Wno-psabi -O0 (test for excess errors)
FAIL: libffi.go/aa-direct.c -W -Wall -Wno-psabi -O2 (test for excess errors)
FAIL: libffi.go/aa-direct.c -W -Wall -Wno-psabi -O3 (test for excess errors)
FAIL: libffi.go/aa-direct.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.go/aa-direct.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer (test
for excess errors)
FAIL: libffi.go/closure1.c -W -Wall -Wno-psabi -O0 (test for excess errors)
FAIL: libffi.go/closure1.c -W -Wall -Wno-psabi -O2 (test for excess errors)
FAIL: libffi.go/closure1.c -W -Wall -Wno-psabi -O3 (test for excess errors)
FAIL: libffi.go/closure1.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.go/closure1.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer (test
for excess errors)
Running
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150112/libffi/testsuite/libffi.special/special.exp
...
=== libffi Summary ===
# of expected passes 2069
# of unexpected failures 125
# of unresolved testcases 10
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (2 preceding siblings ...)
2015-01-12 22:55 ` howarth at bromo dot med.uc.edu
@ 2015-01-12 23:03 ` howarth at bromo dot med.uc.edu
2015-01-12 23:26 ` rth at gcc dot gnu.org
` (20 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-12 23:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #4 from howarth at bromo dot med.uc.edu ---
The same failures are seen in the libffi test suite at -m32 and -m64. The first
failure appears as...
./cls_align_complex_float.exe
48 0.000000,-0.000000i 255 0 0.000000,0.000000i 0: 48 0.000000,-0.000000i 255
res: 0 0.000000,0.000000i 0
0 0.000000,0.000000i 1 12 4951.000000,7.000000i 127: 12 4951.000000,7.000000i
128
Segmentation fault
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (3 preceding siblings ...)
2015-01-12 23:03 ` howarth at bromo dot med.uc.edu
@ 2015-01-12 23:26 ` rth at gcc dot gnu.org
2015-01-13 0:36 ` rth at gcc dot gnu.org
` (19 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: rth at gcc dot gnu.org @ 2015-01-12 23:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
Richard Henderson <rth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |rth at gcc dot gnu.org
--- Comment #5 from Richard Henderson <rth at gcc dot gnu.org> ---
Not technically regressions, since those are new tests.
But we can adjust things so that they aren't run on darwin.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (4 preceding siblings ...)
2015-01-12 23:26 ` rth at gcc dot gnu.org
@ 2015-01-13 0:36 ` rth at gcc dot gnu.org
2015-01-13 3:23 ` howarth at bromo dot med.uc.edu
` (18 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: rth at gcc dot gnu.org @ 2015-01-13 0:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #6 from Richard Henderson <rth at gcc dot gnu.org> ---
Created attachment 34432
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34432&action=edit
proposed patch
Should fix both the original report and the testsuite failures.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (5 preceding siblings ...)
2015-01-13 0:36 ` rth at gcc dot gnu.org
@ 2015-01-13 3:23 ` howarth at bromo dot med.uc.edu
2015-01-13 9:55 ` dominiq at lps dot ens.fr
` (17 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-13 3:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #7 from howarth at bromo dot med.uc.edu ---
(In reply to Richard Henderson from comment #6)
> Created attachment 34432 [details]
> proposed patch
>
> Should fix both the original report and the testsuite failures.
Confirmed that the proposed patch eliminates both the bootstrap failure on
x86_64-apple-darwin14 and the libffi testsuite failures at both -m32 and -m64.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (6 preceding siblings ...)
2015-01-13 3:23 ` howarth at bromo dot med.uc.edu
@ 2015-01-13 9:55 ` dominiq at lps dot ens.fr
2015-01-13 23:53 ` howarth at bromo dot med.uc.edu
` (16 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-13 9:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #8 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Confirmed that the proposed patch eliminates both the bootstrap failure
> on x86_64-apple-darwin14 and the libffi testsuite failures at both -m32 and -m64.
When running
make -k -j8 check RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'"
I get
=== libffi tests ===
Running target unix-m64
ERROR: couldn't load description file for unix-m64
and if I run the test in x86_64-apple-darwin14.0.0/libffi/testsuite/ with
make -k check RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'"
I get
=== libffi tests ===
Running target unix/-m32
FAIL: libffi.call/cls_1_1byte.c -W -Wall -Wno-psabi -O0 output pattern test, is
12 178: 190
FAIL: libffi.call/cls_1_1byte.c -W -Wall -Wno-psabi -O2 execution test
FAIL: libffi.call/cls_1_1byte.c -W -Wall -Wno-psabi -O3 execution test
FAIL: libffi.call/cls_1_1byte.c -W -Wall -Wno-psabi -Os execution test
FAIL: libffi.call/cls_1_1byte.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer
execution test
FAIL: libffi.call/cls_2byte.c -W -Wall -Wno-psabi -O0 execution test
FAIL: libffi.call/cls_2byte.c -W -Wall -Wno-psabi -O2 execution test
FAIL: libffi.call/cls_2byte.c -W -Wall -Wno-psabi -O3 execution test
FAIL: libffi.call/cls_2byte.c -W -Wall -Wno-psabi -Os execution test
FAIL: libffi.call/cls_2byte.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer
execution test
FAIL: libffi.call/struct5.c -W -Wall -Wno-psabi -O0 execution test
FAIL: libffi.call/struct5.c -W -Wall -Wno-psabi -O2 execution test
FAIL: libffi.call/struct5.c -W -Wall -Wno-psabi -O3 execution test
FAIL: libffi.call/struct5.c -W -Wall -Wno-psabi -Os execution test
FAIL: libffi.call/struct5.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer
execution test
FAIL: libffi.call/va_struct2.c -W -Wall -Wno-psabi -O0 execution test
FAIL: libffi.call/va_struct2.c -W -Wall -Wno-psabi -O2 execution test
FAIL: libffi.call/va_struct2.c -W -Wall -Wno-psabi -O3 execution test
FAIL: libffi.call/va_struct2.c -W -Wall -Wno-psabi -Os execution test
FAIL: libffi.call/va_struct2.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer
execution test
=== libffi Summary for unix/-m32 ===
# of expected passes 1870
# of unexpected failures 20
# of unsupported tests 30
Running target unix/-m64
=== libffi Summary for unix/-m64 ===
# of expected passes 1904
# of unsupported tests 30
=== libffi Summary ===
# of expected passes 3774
# of unexpected failures 20
# of unsupported tests 60
i.e., 20 failures with -m32.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (7 preceding siblings ...)
2015-01-13 9:55 ` dominiq at lps dot ens.fr
@ 2015-01-13 23:53 ` howarth at bromo dot med.uc.edu
2015-01-14 0:32 ` howarth at bromo dot med.uc.edu
` (15 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-13 23:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #10 from howarth at bromo dot med.uc.edu ---
(In reply to Dominique d'Humieres from comment #8)
I tested with a brute force 'make -k check' in both
/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/libffi
and
/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libffi.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (8 preceding siblings ...)
2015-01-13 23:53 ` howarth at bromo dot med.uc.edu
@ 2015-01-14 0:32 ` howarth at bromo dot med.uc.edu
2015-01-14 10:50 ` dominiq at lps dot ens.fr
` (14 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-14 0:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #11 from howarth at bromo dot med.uc.edu ---
(In reply to Dominique d'Humieres from comment #8)
I can confirm these now. Executing 'make -k check' in
/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-darwin14.1.0/i386/libffi
doesn't cause -m32 to be passed to the test suite but 'make -k check
RUNTESTFLAGS="--target_board=unix'{-m32}'"' does.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (9 preceding siblings ...)
2015-01-14 0:32 ` howarth at bromo dot med.uc.edu
@ 2015-01-14 10:50 ` dominiq at lps dot ens.fr
2015-01-14 19:47 ` howarth at bromo dot med.uc.edu
` (13 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-14 10:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #12 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I can confirm these now. Executing 'make -k check' in
> /sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/x86_64-apple-
> darwin14.1.0/i386/libffi doesn't cause -m32 to be passed to the test suite
> but 'make -k check RUNTESTFLAGS="--target_board=unix'{-m32}'"' does.
This is not darwin specific: see
https://gcc.gnu.org/ml/gcc-testresults/2015-01/msg01376.html.
At https://gcc.gnu.org/ml/gcc-testresults/2015-01/msg01372.html, I see
=== libffi tests ===
Running target unix
=== libffi Summary ===
# of expected passes 2204
i.e., no unix/-m32.
Should we open a new PR for that?
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (10 preceding siblings ...)
2015-01-14 10:50 ` dominiq at lps dot ens.fr
@ 2015-01-14 19:47 ` howarth at bromo dot med.uc.edu
2015-01-14 20:12 ` rth at gcc dot gnu.org
` (12 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-14 19:47 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 6298 bytes --]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #13 from howarth at bromo dot med.uc.edu ---
(In reply to Dominique d'Humieres from comment #8)
>
> === libffi Summary for unix/-m32 ===
>
> # of expected passes 1870
> # of unexpected failures 20
> # of unsupported tests 30
>
> Running target unix/-m64
>
> === libffi Summary for unix/-m64 ===
>
> # of expected passes 1904
> # of unsupported tests 30
>
> === libffi Summary ===
>
> # of expected passes 3774
> # of unexpected failures 20
> # of unsupported tests 60
>
> i.e., 20 failures with -m32.
These 32-bit failures appear to be darwin specific as a build of current gcc
trunk on x86_64 Fedora 15 and manually running there test suite in
build/x86_64-unknown-linux-gnu/32/libffi with 'make -k check
RUNTESTFLAGS="--target_board=unix'{-m32}'"' shows...
=== libffi Summary ===
# of expected passes 2204
>From gcc-bugs-return-473234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jan 14 19:56:14 2015
Return-Path: <gcc-bugs-return-473234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7246 invoked by alias); 14 Jan 2015 19:56:11 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 6376 invoked by uid 48); 14 Jan 2015 19:55:54 -0000
From: "joel at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/64599] New: arm-rtems ICE on valid code (-mcpu=xscale)
Date: Wed, 14 Jan 2015 19:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joel at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created
Message-ID: <bug-64599-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-01/txt/msg01228.txt.bz2
Content-length: 3521
https://gcc.gnu.org/bugzilla/show_bug.cgi?idd599
Bug ID: 64599
Summary: arm-rtems ICE on valid code (-mcpu=xscale)
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: joel at gcc dot gnu.org
Created attachment 34449
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id4449&actioníit
Preprocessed RTEMS source which produces the error
$ arm-rtems4.11-gcc --version
arm-rtems4.11-gcc (GCC) 5.0.0 20150114 (experimental)
Last hash per git: commit d4cbe45aae70e38c12f3cd7430427c98289d7882
The fix for 64460 is in place.
Attached test case compiles at -Os but not -O1 or -O2.
-O2 without -mcpu=xscale also works.
arm-rtems4.11-gcc --pipe -DHAVE_CONFIG_H -I..
-I../../cpukit/../../../gumstix/lib/include -mcpu=xscale -O2 -g -Wall
-Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes
-Wnested-externs -MT src/libcsupport_a-cfgetospeed.o -MD -MP -MF
src/.deps/libcsupport_a-cfgetospeed.Tpo -c -o src/libcsupport_a-cfgetospeed.o
`test -f 'src/cfgetospeed.c' || echo
'../../../../../../rtems/c/src/../../cpukit/libcsupport/'`src/cfgetospeed.c
../../../../../../rtems/c/src/../../cpukit/libcsupport/src/cfgetospeed.c: In
function 'cfgetospeed':
../../../../../../rtems/c/src/../../cpukit/libcsupport/src/cfgetospeed.c:37:1:
internal compiler error: in decompose, at rtl.h:2005
}
^
0x41c918 wi::int_traits<std::pair<rtx_def*, machine_mode> >::decompose(long*,
unsigned int, std::pair<rtx_def*, machine_mode> const&)
../../gcc/gcc/rtl.h:2005
0x91eae0 wi::int_traits<std::pair<rtx_def*, machine_mode> >::decompose(long*,
unsigned int, std::pair<rtx_def*, machine_mode> const&)
../../gcc/gcc/rtl.h:2005
0x91eae0 wide_int_ref_storage<false>::wide_int_ref_storage<std::pair<rtx_def*,
machine_mode> >(std::pair<rtx_def*, machine_mode> const&, unsigned int)
../../gcc/gcc/wide-int.h:957
0x91eae0 generic_wide_int<wide_int_ref_storage<false>
>::generic_wide_int<std::pair<rtx_def*, machine_mode> >(std::pair<rtx_def*,
machine_mode> const&, unsigned int)
../../gcc/gcc/wide-int.h:733
0x91eae0 wi::binary_traits<std::pair<rtx_def*, machine_mode>,
std::pair<rtx_def*, machine_mode>, wi::int_traits<std::pair<rtx_def*,
machine_mode> >::precision_type, wi::int_traits<std::pair<rtx_def*,
machine_mode> >::precision_type>::result_type wi::sub<std::pair<rtx_def*,
machine_mode>, std::pair<rtx_def*, machine_mode> >(std::pair<rtx_def*,
machine_mode> const&, std::pair<rtx_def*, machine_mode> const&)
../../gcc/gcc/wide-int.h:2357
0x91eae0 simplify_const_binary_operation(rtx_code, machine_mode, rtx_def*,
rtx_def*)
../../gcc/gcc/simplify-rtx.c:3867
0x91bf3f simplify_binary_operation(rtx_code, machine_mode, rtx_def*, rtx_def*)
../../gcc/gcc/simplify-rtx.c:1972
0x91fc77 simplify_associative_operation
../../gcc/gcc/simplify-rtx.c:1929
0x9188cc simplify_binary_operation_1
../../gcc/gcc/simplify-rtx.c:2967
0xdd4f21 combine_simplify_rtx
../../gcc/gcc/combine.c:5541
0xdd743b subst
../../gcc/gcc/combine.c:5374
0xdd70c8 subst
../../gcc/gcc/combine.c:5319
0xdd97ce try_combine
../../gcc/gcc/combine.c:3266
0xddef81 combine_instructions
../../gcc/gcc/combine.c:1312
0xddef81 rest_of_handle_combine
../../gcc/gcc/combine.c:14094
0xddef81 execute
../../gcc/gcc/combine.c:14137
Please submit a full bug report,
with preprocessed source if appropriate.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (11 preceding siblings ...)
2015-01-14 19:47 ` howarth at bromo dot med.uc.edu
@ 2015-01-14 20:12 ` rth at gcc dot gnu.org
2015-01-14 23:34 ` dominiq at lps dot ens.fr
` (11 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: rth at gcc dot gnu.org @ 2015-01-14 20:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
Richard Henderson <rth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |WAITING
--- Comment #14 from Richard Henderson <rth at gcc dot gnu.org> ---
Well, then you'll have to figure out what else could have changed
between r219474 and r219477, because the answer should have been
nothing at all.
The current darwin_c.c is an exact copy of the previous ffi.c.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (12 preceding siblings ...)
2015-01-14 20:12 ` rth at gcc dot gnu.org
@ 2015-01-14 23:34 ` dominiq at lps dot ens.fr
2015-01-14 23:54 ` hjl.tools at gmail dot com
` (10 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-14 23:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #15 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Running target unix-m64
> ERROR: couldn't load description file for unix-m64
I think it is pr64607.
> Well, then you'll have to figure out what else could have changed
> between r219474 and r219477, because the answer should have been
> nothing at all.
>
> The current darwin_c.c is an exact copy of the previous ffi.c.
What about the other files used by darwin?
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (13 preceding siblings ...)
2015-01-14 23:34 ` dominiq at lps dot ens.fr
@ 2015-01-14 23:54 ` hjl.tools at gmail dot com
2015-01-15 0:47 ` rth at gcc dot gnu.org
` (9 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: hjl.tools at gmail dot com @ 2015-01-14 23:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #16 from H.J. Lu <hjl.tools at gmail dot com> ---
This may be a dup of PR 64607 or PR 64581.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (14 preceding siblings ...)
2015-01-14 23:54 ` hjl.tools at gmail dot com
@ 2015-01-15 0:47 ` rth at gcc dot gnu.org
2015-01-15 0:54 ` dominiq at lps dot ens.fr
` (8 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: rth at gcc dot gnu.org @ 2015-01-15 0:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #17 from Richard Henderson <rth at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #15)
> What about the other files used by darwin?
darwin.S is also unchanged.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (15 preceding siblings ...)
2015-01-15 0:47 ` rth at gcc dot gnu.org
@ 2015-01-15 0:54 ` dominiq at lps dot ens.fr
2015-01-15 2:52 ` howarth at bromo dot med.uc.edu
` (7 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-01-15 0:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #18 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> > What about the other files used by darwin?
>
> darwin.S is also unchanged.
Those are files specific to darwin, but I don't think they are the only one
used to build libffi.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (16 preceding siblings ...)
2015-01-15 0:54 ` dominiq at lps dot ens.fr
@ 2015-01-15 2:52 ` howarth at bromo dot med.uc.edu
2015-01-15 3:04 ` howarth at bromo dot med.uc.edu
` (6 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-15 2:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #19 from Richard Henderson <rth at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #18)
> Those are files specific to darwin, but I don't think they are the only one
> used to build libffi.
99%.
Anyway, it doesn't matter. One of you folk that actually
have darwin are going to have to debug this.
--- Comment #20 from howarth at bromo dot med.uc.edu ---
So currently what we have in libffi is a merge from upstream for everyone but
darwin which has selective files back ported from the prior release. So this
build is untested upstream.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (17 preceding siblings ...)
2015-01-15 2:52 ` howarth at bromo dot med.uc.edu
@ 2015-01-15 3:04 ` howarth at bromo dot med.uc.edu
2015-01-15 19:28 ` howarth at bromo dot med.uc.edu
` (5 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-15 3:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #21 from howarth at bromo dot med.uc.edu ---
One potential issue could be that src/x86/ffitarget.h has changed
FFI_TRAMPOLINE_SIZE from 10 to 12 for X86_DARWIN which is used in darwin.S...
#define RAW_CLOSURE_CIF_OFFSET ((FFI_TRAMPOLINE_SIZE + 3) & ~3)
Reverting this is insufficient to eliminate the 32-bit regressions though.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (18 preceding siblings ...)
2015-01-15 3:04 ` howarth at bromo dot med.uc.edu
@ 2015-01-15 19:28 ` howarth at bromo dot med.uc.edu
2015-01-15 19:55 ` howarth at bromo dot med.uc.edu
` (4 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-15 19:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #22 from howarth at bromo dot med.uc.edu ---
I did a quick and dirty test in the i386/libffi build directory of rebuilding
and rerunning make check as I reverted each source file and header being
compiled on darwin to the pre-r184997 contents. The test suite failures from
comment 8 remained after all the *.c/*.h changes where reverted and only
disappeared when I finally replaced the generated ffi.h header with one from a
build prior to r184997. So I suspect the problem may actually lie in the
include/ffi.h.in changes.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (19 preceding siblings ...)
2015-01-15 19:28 ` howarth at bromo dot med.uc.edu
@ 2015-01-15 19:55 ` howarth at bromo dot med.uc.edu
2015-01-15 20:56 ` rth at gcc dot gnu.org
` (3 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-15 19:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #23 from howarth at bromo dot med.uc.edu ---
The failures in Comment 8 at -m32 on x86_64 darwin appear to be eliminated with
this change...
Index: libffi/include/ffi.h.in
===================================================================
--- libffi/include/ffi.h.in (revision 219681)
+++ libffi/include/ffi.h.in (working copy)
@@ -494,7 +494,11 @@ void ffi_call(ffi_cif *cif,
#define FFI_TYPE_COMPLEX 15
/* This should always refer to the last type code (for sanity checks) */
+#ifdef FFI_TARGET_HAS_COMPLEX_TYPE
#define FFI_TYPE_LAST FFI_TYPE_COMPLEX
+#else
+#define FFI_TYPE_LAST FFI_TYPE_POINTER
+#endif
#ifdef __cplusplus
}
which I guess makes sense as Darwin doesn't support
FFI_TARGET_HAS_COMPLEX_TYPE.
Test Run By root on Thu Jan 15 14:52:03 2015
Native configuration is x86_64-apple-darwin14.1.0
=== libffi tests ===
Schedule of variations:
unix/-m32
Running target unix/-m32
Using /sw/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /sw/share/dejagnu/config/unix.exp as generic interface file for target.
Using
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150115/libffi/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150115/libffi/testsuite/libffi.call/call.exp
...
Running
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150115/libffi/testsuite/libffi.complex/complex.exp
...
Running
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150115/libffi/testsuite/libffi.go/go.exp
...
Running
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150115/libffi/testsuite/libffi.special/special.exp
...
=== libffi Summary ===
# of expected passes 1904
# of unsupported tests 30
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (20 preceding siblings ...)
2015-01-15 19:55 ` howarth at bromo dot med.uc.edu
@ 2015-01-15 20:56 ` rth at gcc dot gnu.org
2015-01-15 21:02 ` rth at gcc dot gnu.org
` (2 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: rth at gcc dot gnu.org @ 2015-01-15 20:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
Richard Henderson <rth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |ASSIGNED
--- Comment #24 from Richard Henderson <rth at gcc dot gnu.org> ---
Ah, gotcha. Thanks.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (21 preceding siblings ...)
2015-01-15 20:56 ` rth at gcc dot gnu.org
@ 2015-01-15 21:02 ` rth at gcc dot gnu.org
2015-01-15 23:41 ` howarth at bromo dot med.uc.edu
2015-01-16 20:55 ` rth at gcc dot gnu.org
24 siblings, 0 replies; 26+ messages in thread
From: rth at gcc dot gnu.org @ 2015-01-15 21:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #25 from Richard Henderson <rth at gcc dot gnu.org> ---
Author: rth
Date: Thu Jan 15 21:01:21 2015
New Revision: 219688
URL: https://gcc.gnu.org/viewcvs?rev=219688&root=gcc&view=rev
Log:
PR libffi/64572
* include/ffi.h.in (FFI_TYPE_LAST): Set to COMPLEX only if complex
numbers are supported by the backend.
Modified:
trunk/libffi/ChangeLog
trunk/libffi/include/ffi.h.in
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (22 preceding siblings ...)
2015-01-15 21:02 ` rth at gcc dot gnu.org
@ 2015-01-15 23:41 ` howarth at bromo dot med.uc.edu
2015-01-16 20:55 ` rth at gcc dot gnu.org
24 siblings, 0 replies; 26+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-01-15 23:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
--- Comment #26 from howarth at bromo dot med.uc.edu ---
(In reply to Richard Henderson from comment #25)
Thanks for applying the fix to trunk. FYI, the current state of libffi head on
x86_64-apple-darwin14 is described in...
https://sourceware.org/ml/libffi-discuss/2015/msg00019.html
Any suggestions for fixing the compilation of sysv,S on darwin would be
welcome.
^ permalink raw reply [flat|nested] 26+ messages in thread
* [Bug libffi/64572] r219477 breaks bootstrap on x86_64 darwin
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
` (23 preceding siblings ...)
2015-01-15 23:41 ` howarth at bromo dot med.uc.edu
@ 2015-01-16 20:55 ` rth at gcc dot gnu.org
24 siblings, 0 replies; 26+ messages in thread
From: rth at gcc dot gnu.org @ 2015-01-16 20:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64572
Richard Henderson <rth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #27 from Richard Henderson <rth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2015-01-16 20:55 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-12 20:18 [Bug libffi/64572] New: r219477 breaks bootstrap on x86_64 darwin howarth at bromo dot med.uc.edu
2015-01-12 20:22 ` [Bug libffi/64572] " howarth at bromo dot med.uc.edu
2015-01-12 20:45 ` rth at gcc dot gnu.org
2015-01-12 22:55 ` howarth at bromo dot med.uc.edu
2015-01-12 23:03 ` howarth at bromo dot med.uc.edu
2015-01-12 23:26 ` rth at gcc dot gnu.org
2015-01-13 0:36 ` rth at gcc dot gnu.org
2015-01-13 3:23 ` howarth at bromo dot med.uc.edu
2015-01-13 9:55 ` dominiq at lps dot ens.fr
2015-01-13 23:53 ` howarth at bromo dot med.uc.edu
2015-01-14 0:32 ` howarth at bromo dot med.uc.edu
2015-01-14 10:50 ` dominiq at lps dot ens.fr
2015-01-14 19:47 ` howarth at bromo dot med.uc.edu
2015-01-14 20:12 ` rth at gcc dot gnu.org
2015-01-14 23:34 ` dominiq at lps dot ens.fr
2015-01-14 23:54 ` hjl.tools at gmail dot com
2015-01-15 0:47 ` rth at gcc dot gnu.org
2015-01-15 0:54 ` dominiq at lps dot ens.fr
2015-01-15 2:52 ` howarth at bromo dot med.uc.edu
2015-01-15 3:04 ` howarth at bromo dot med.uc.edu
2015-01-15 19:28 ` howarth at bromo dot med.uc.edu
2015-01-15 19:55 ` howarth at bromo dot med.uc.edu
2015-01-15 20:56 ` rth at gcc dot gnu.org
2015-01-15 21:02 ` rth at gcc dot gnu.org
2015-01-15 23:41 ` howarth at bromo dot med.uc.edu
2015-01-16 20:55 ` rth at gcc dot gnu.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).