public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: bryce@albatross.co.nz To: java-gnats@sourceware.cygnus.com Subject: libgcj/1128: libffi configure script doesn't honour "--with-as" Date: Wed, 20 Dec 2000 12:09:00 -0000 [thread overview] Message-ID: <19991217234536.10290.qmail@sourceware.cygnus.com> (raw) >Number: 1128 >Category: libgcj >Synopsis: libffi configure script doesn't honour "--with-as" >Confidential: no >Severity: serious >Priority: medium >Responsible: tromey >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Dec 20 12:06:21 PST 2000 >Closed-Date: >Last-Modified: Fri Dec 17 20:16:01 PST 1999 >Originator: bryce@albatross.co.nz >Release: current cvs libgcj, gcc 2.95.2 >Organization: >Environment: Solaris 2.7 x86 >Description: libffi works nicely on Solaris x86, but it must be built with GNU `as', not Solaris `as'. But despite rearranging PATH, and specifying "--with-as=/usr/local/gnu/bin/as" or "--with-gnu-as" on the configure line, the Solaris `as' is allways used and the build fails. The only way I could get it to use GNU `as' is to actually delete or rename the Solaris one. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: Formerly PR libgcj/120 From: Tom Tromey <tromey@cygnus.com> To: bryce@albatross.co.nz Cc: java-gnats@sourceware.cygnus.com Subject: Re: libgcj/120: libffi configure script doesn't honour "--with-as" Date: Fri, 17 Dec 1999 16:09:03 -0800 (PST) My understanding is that libffi just uses whatever assembler gcc is configured to use -- it runs the assembler via the gcc front end. So it seems like you could work around this using the appropriate -B option, or by configuring gcc a different way. I guess we could recognize --with-as=... and set the -B option automatically, but that seems a bit ugly (and perhaps error-prone; I don't know the issues). Tom From: Bryce McKinlay <bryce@albatross.co.nz> To: Tom Tromey <tromey@cygnus.com> Cc: java-gnats@sourceware.cygnus.com Subject: Re: libgcj/120: libffi configure script doesn't honour "--with-as" Date: Sat, 18 Dec 1999 14:11:33 +1300 Tom Tromey wrote: > My understanding is that libffi just uses whatever assembler gcc is > configured to use -- it runs the assembler via the gcc front end. > So it seems like you could work around this using the appropriate -B > option, or by configuring gcc a different way. > > I guess we could recognize --with-as=... and set the -B option > automatically, but that seems a bit ugly (and perhaps error-prone; I > don't know the issues). Would it be practical to change libffi to call the assembler directly (like other parts of libgcj presumably do) rather than via gcc? This would probibly be more robust than mapping --with-as to -B. regards [ bryce ] From: Tom Tromey <tromey@cygnus.com> To: Bryce McKinlay <bryce@albatross.co.nz> Cc: Tom Tromey <tromey@cygnus.com>, java-gnats@sourceware.cygnus.com, Anthony Green <green@cygnus.com> Subject: Re: libgcj/120: libffi configure script doesn't honour "--with-as" Date: Fri, 17 Dec 1999 20:15:19 -0800 (PST) Bryce> Would it be practical to change libffi to call the assembler Bryce> directly (like other parts of libgcj presumably do) rather than Bryce> via gcc? This would probibly be more robust than mapping Bryce> --with-as to -B. Right now we have assembly code that is compiled in boehm-gc and libffi, and that's it. (gmp has assembly code, but I don't know its status.) Both these places use the gcc driver. Would it be possible to change libffi to work with either assembler? Tom >Unformatted:
reply other threads:[~2000-12-20 12:09 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=19991217234536.10290.qmail@sourceware.cygnus.com \ --to=bryce@albatross.co.nz \ --cc=java-gnats@sourceware.cygnus.com \ /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: linkBe 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).