This is the mail archive of the
libffi-discuss@sources.redhat.com
mailing list for the libffi project.
Problems assembling libffi/src/x86/sysv.S with Solaris 8/Intel native as
- To: libffi-discuss at sources dot redhat dot com, gcc-bugs at gcc dot gnu dot org
- Subject: Problems assembling libffi/src/x86/sysv.S with Solaris 8/Intel native as
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Date: Mon, 25 Jun 2001 20:07:31 +0200 (MEST)
I've just tried to bootstrap GCC 3.0 with --enable-libgcj on
i386-pc-solaris2.8 and the native assembler. After fixing two unrelated
problems, the build failed when trying to compile libffi/src/x86/sysv.S,
for two different reasons:
* The Solaris/Intel assembler (unlike it's SPARC conterpart) can handle
neither # comments nor # <lineno> directives. I've fixed the first part
of this by converting sysv.S to use C-style comments. This is save in
any case since that file is passed through cpp first. The second part is
easily fixed by passing -P to cpp for .S files. I'll post a separate
patch once a full bootstrap if finished.
* The Solaris/Intel assembler doesn't recognize .balign. I can use .align
here, but what's the best way to conditionalize this, since some other
assemblers seem to treat .align N as `align to 2^N', which is not
desired.
Once the second issue is settled, I'll retest and submit a proper patch.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE