From: Jack Howarth <howarth.mailing.lists@gmail.com>
To: libffi-discuss@sourceware.org
Subject: -m32 build of libffi head fails on darwin
Date: Thu, 15 Jan 2015 23:37:00 -0000 [thread overview]
Message-ID: <CADtEn-3r121SwnL=KKkp_QKeCyAXDT0RM=WZCWsd9CXgZRbmmg@mail.gmail.com> (raw)
Currently libffi head can be built on x86_64-apple-darwin14 with
Xcode 6.1 using just...
mkdir build
cd build
../configure
and 'make check' shows...
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 ../../testsuite/config/default.exp as tool-and-target-specific
interface file.
Running ../../testsuite/libffi.call/call.exp ...
FAIL: libffi.call/unwindtest.cc -W -Wall -O0 execution test
FAIL: libffi.call/unwindtest.cc -W -Wall -O1 execution test
FAIL: libffi.call/unwindtest.cc -W -Wall -O2 execution test
FAIL: libffi.call/unwindtest.cc -W -Wall -O3 execution test
FAIL: libffi.call/unwindtest.cc -W -Wall -Os execution test
Running ../../testsuite/libffi.complex/complex.exp ...
Running ../../testsuite/libffi.go/go.exp ...
=== libffi Summary ===
# of expected passes 2210
# of unexpected failures 5
Using...
../configure CC=gcc-fsf-5.0 CXX=g++-fsf-5.0
to avoid the clang compilers produces pristine test suite results...
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 ../../testsuite/config/default.exp as tool-and-target-specific
interface file.
Running ../../testsuite/libffi.call/call.exp ...
Running ../../testsuite/libffi.complex/complex.exp ...
Running ../../testsuite/libffi.go/go.exp ...
=== libffi Summary ===
# of expected passes 2220
Unfortunately, the -m32 build for both compilers are broken. On system
clang compilers, we get...
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include
-Iinclude -I../src -I. -I../include -Iinclude -I../src -O2 -g -m32 -MT
src/x86/sysv.lo -MD -MP -MF src/x86/.deps/sysv.Tpo -c
../src/x86/sysv.S -fno-common -DPIC -o src/x86/.libs/sysv.o
../src/x86/sysv.S:862:16: error: invalid variant 'rel'
.long LUW0@rel
^
../src/x86/sysv.S:884:16: error: invalid variant 'rel'
.long LUW6@rel
^
../src/x86/sysv.S:896:16: error: invalid variant 'rel'
.long LUW9@rel
^
../src/x86/sysv.S:908:17: error: invalid variant 'rel'
.long LUW12@rel
^
../src/x86/sysv.S:936:17: error: invalid variant 'rel'
.long LUW21@rel
^
../src/x86/sysv.S:948:17: error: invalid variant 'rel'
.long LUW24@rel
^
../src/x86/sysv.S:962:17: error: invalid variant 'rel'
.long LUW27@rel
^
../src/x86/sysv.S:981:17: error: invalid variant 'rel'
.long LUW32@rel
^
../src/x86/sysv.S:1005:17: error: invalid variant 'rel'
.long LUW41@rel
^
Makefile:1230: recipe for target 'src/x86/sysv.lo' failed
for
../configure --build=i386-apple-darwin14 --target=i386-apple-darwin14
--host=i386-apple-darwin14 CFLAGS="-O2 -g -m32"
make
whereas for the FSF gcc compilers, we get...
libtool: compile: gcc-fsf-5.0 -DHAVE_CONFIG_H -I. -I.. -I.
-I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src
-O2 -g -m32 -MT src/x86/sysv.lo -MD -MP -MF src/x86/.deps/sysv.Tpo -c
../src/x86/sysv.S -fno-common -DPIC -o src/x86/.libs/sysv.o
../src/x86/sysv.S:862:Rest of line ignored. 1st junk character valued 64 (@).
../src/x86/sysv.S:884:Rest of line ignored. 1st junk character valued 64 (@).
../src/x86/sysv.S:896:Rest of line ignored. 1st junk character valued 64 (@).
../src/x86/sysv.S:908:Rest of line ignored. 1st junk character valued 64 (@).
../src/x86/sysv.S:936:Rest of line ignored. 1st junk character valued 64 (@).
../src/x86/sysv.S:948:Rest of line ignored. 1st junk character valued 64 (@).
../src/x86/sysv.S:962:Rest of line ignored. 1st junk character valued 64 (@).
../src/x86/sysv.S:981:Rest of line ignored. 1st junk character valued 64 (@).
../src/x86/sysv.S:1005:Rest of line ignored. 1st junk character valued 64 (@).
Makefile:1230: recipe for target 'src/x86/sysv.lo' failed
Any ideas on how to fix this issue with sysv,S?
Jack
next reply other threads:[~2015-01-15 23:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-15 23:37 Jack Howarth [this message]
2015-01-15 23:49 ` Richard Henderson
2015-01-16 0:52 ` Jack Howarth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADtEn-3r121SwnL=KKkp_QKeCyAXDT0RM=WZCWsd9CXgZRbmmg@mail.gmail.com' \
--to=howarth.mailing.lists@gmail.com \
--cc=libffi-discuss@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).