From: mansky <mansky@mindspring.com>
To: libffi-discuss@sourceware.org
Cc: Edmund Mansky <mansky@mindspring.com>
Subject: Problem with darwin_closure.S on 10.4.11/gcc 4.3.3
Date: Wed, 23 Oct 2013 13:13:00 -0000 [thread overview]
Message-ID: <5430341D-132E-4F68-9917-DFB0508D7F96@mindspring.com> (raw)
Hi all,
I am trying to build libffi on a PowerMac G4 (ppc 7455 v3.2 dual
867MHz CPUs) and keep getting errors in the build from the assembly
code darwin_closure.S
The configure script, invoked with no arguments, seems to run fine
and ends with no errors.
I do see a message near the end about a buggy sed, but get a
directory "powerpc-apple-darwin8.11.0" as expected.
Running gmake (GNU make 3.80) then results in:
[eikonal:mansky] mansky%gmake > ./config_results8.txt
darwin_closure.S:140:Missing ')' assumed
darwin_closure.S:140:Parameter syntax error (parameter 2)
darwin_closure.S:149:Missing ')' assumed
darwin_closure.S:149:Missing ')' assumed
darwin_closure.S:149:Missing ')' assumed
darwin_closure.S:149:Parameter syntax error (parameter 2)
darwin_closure.S:150:Missing ')' assumed
darwin_closure.S:150:Missing ')' assumed
darwin_closure.S:150:Missing ')' assumed
darwin_closure.S:150:Parameter syntax error (parameter 2)
darwin_closure.S:151:Missing ')' assumed
darwin_closure.S:151:Missing ')' assumed
darwin_closure.S:151:Missing ')' assumed
darwin_closure.S:151:Parameter syntax error (parameter 2)
darwin_closure.S:152:Missing ')' assumed
darwin_closure.S:152:Missing ')' assumed
darwin_closure.S:152:Missing ')' assumed
darwin_closure.S:152:Parameter syntax error (parameter 2)
darwin_closure.S:153:Missing ')' assumed
darwin_closure.S:153:Missing ')' assumed
darwin_closure.S:153:Missing ')' assumed
darwin_closure.S:153:Parameter syntax error (parameter 2)
darwin_closure.S:154:Missing ')' assumed
darwin_closure.S:154:Missing ')' assumed
darwin_closure.S:154:Missing ')' assumed
darwin_closure.S:154:Parameter syntax error (parameter 2)
darwin_closure.S:155:Missing ')' assumed
darwin_closure.S:155:Missing ')' assumed
darwin_closure.S:155:Missing ')' assumed
darwin_closure.S:155:Parameter syntax error (parameter 2)
darwin_closure.S:156:Missing ')' assumed
darwin_closure.S:156:Missing ')' assumed
darwin_closure.S:156:Missing ')' assumed
darwin_closure.S:156:Parameter syntax error (parameter 2)
darwin_closure.S:178:Missing ')' assumed
darwin_closure.S:178:Missing ')' assumed
darwin_closure.S:178:Parameter syntax error (parameter 3)
darwin_closure.S:181:Missing ')' assumed
darwin_closure.S:181:Missing ')' assumed
darwin_closure.S:181:Parameter syntax error (parameter 3)
darwin_closure.S:201:Missing ')' assumed
darwin_closure.S:201:Missing ')' assumed
darwin_closure.S:201:Parameter syntax error (parameter 3)
../src/powerpc/darwin_closure.S:455:Missing ')' assumed
../src/powerpc/darwin_closure.S:455:Parameter syntax error (parameter 3)
gmake[3]: *** [src/powerpc/darwin_closure.lo] Error 1
gmake[2]: *** [all-recursive] Error 1
gmake[1]: *** [all] Error 2
gmake: *** [all-all] Error 2
I have a copy of the Apple Mac OSX Assembler Guide (dated 2005), but
could not find the entry for the commands "sgu" or "sg", so am unsure
what the exact syntax should be for these assembler commands.
Where is the constant __ppc64__ defined in the code? Is it defined in
libffi code itself somewhere, or in the OSX system headers ? I
compared my G4 with my G5 and could not find __ppc64__ defined in the
system headers there either.
Any tips or ideas about this would be greatly appreciated!
Thanks,
--Ed
next reply other threads:[~2013-10-23 13:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-23 13:13 mansky [this message]
2013-10-23 16:03 ` Jay K
2013-10-23 17:51 ` Ed Mansky
2013-10-23 18:16 ` David Fang
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=5430341D-132E-4F68-9917-DFB0508D7F96@mindspring.com \
--to=mansky@mindspring.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).