public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/26466]  New: multilib selection in gcc driver ignores removal of switches
@ 2006-02-25 14:00 peb at mppmu dot mpg dot de
  2006-02-25 14:26 ` [Bug driver/26466] " peb at mppmu dot mpg dot de
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: peb at mppmu dot mpg dot de @ 2006-02-25 14:00 UTC (permalink / raw)
  To: gcc-bugs

I was trying to build a "x86_32-linux-gnu" version of gcc (the same as a
x86_64-linux-gnu version, except that the compiler default mode and its
binaries are 32-bit ones).

The essential ingredient was a DRIVER_SELF_SPECS "%{!m32:%{!m64:-m32}}",
%{m32:%<m64}", such that 'gcc -m64 -m32' produces 32-bit binaries.
More details are described in:
    ftp://ftpth.mppmu.mpg.de/pub/peb/x86-32/toolchain.ps

It turned out that everything worked fine, except the multilib selection wich
ignored that the switch "m64" was removed by the DRIVER_SELF_SPECS.

This problem was fixed by the attached patch.


-- 
           Summary: multilib selection in gcc driver ignores removal of
                    switches
           Product: gcc
           Version: 3.4.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: peb at mppmu dot mpg dot de
 GCC build triplet: i686-linux-gnu
  GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26466


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-03-01  5:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-25 14:00 [Bug driver/26466] New: multilib selection in gcc driver ignores removal of switches peb at mppmu dot mpg dot de
2006-02-25 14:26 ` [Bug driver/26466] " peb at mppmu dot mpg dot de
2006-02-25 17:31 ` pinskia at gcc dot gnu dot org
2006-02-27  9:45 ` peb at mppmu dot mpg dot de
2006-02-27 14:03 ` pinskia at gcc dot gnu dot org
2006-02-27 14:51 ` peb at mppmu dot mpg dot de
2006-02-27 14:55 ` [Bug driver/26466] [3.4 only] " pinskia at gcc dot gnu dot org
2006-03-01  5:14 ` gdr at gcc dot gnu dot 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).