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

* [Bug driver/26466] multilib selection in gcc driver ignores removal of switches
  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 ` peb at mppmu dot mpg dot de
  2006-02-25 17:31 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: peb at mppmu dot mpg dot de @ 2006-02-25 14:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from peb at mppmu dot mpg dot de  2006-02-25 14:00 -------
Created an attachment (id=10912)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10912&action=view)
bugfix


-- 


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


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

* [Bug driver/26466] multilib selection in gcc driver ignores removal of switches
  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
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-25 17:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-02-25 17:29 -------
Patches goto gcc-patches@gcc.gnu.org with a changelog.  Second please update
the patch to the mainline first.


-- 


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


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

* [Bug driver/26466] multilib selection in gcc driver ignores removal of switches
  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
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: peb at mppmu dot mpg dot de @ 2006-02-27  9:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from peb at mppmu dot mpg dot de  2006-02-27 09:08 -------
(In reply to comment #2)
> Patches goto gcc-patches@gcc.gnu.org with a changelog.  Second please update
> the patch to the mainline first.
> 

In the meantime I have realized that this problem is fixed in version 4.0.0
(gcc/Changelog.11 entry from 2004-04-17). Why was that fix never ported back to
version 3.3.5 (released 2004-09-30) or at least to version 3.4.4 (released
2005-05-19)???


-- 


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


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

* [Bug driver/26466] multilib selection in gcc driver ignores removal of switches
  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
                   ` (2 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-27 14:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-02-27 14:01 -------
Fixed by:
http://gcc.gnu.org/ml/gcc-patches/2004-03/msg02011.html

This was not a regression so closing as fixed as per GCC's development guide
lines.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

* [Bug driver/26466] multilib selection in gcc driver ignores removal of switches
  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
                   ` (3 preceding siblings ...)
  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
  6 siblings, 0 replies; 8+ messages in thread
From: peb at mppmu dot mpg dot de @ 2006-02-27 14:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from peb at mppmu dot mpg dot de  2006-02-27 14:49 -------
(In reply to comment #4)
> Fixed by:
> http://gcc.gnu.org/ml/gcc-patches/2004-03/msg02011.html
> 
> This was not a regression so closing as fixed as per GCC's development guide
> lines.
> 
It would be nice if you could apply that patch to the current 3.4.x (and
3.3.x?) version, with a ChangeLog entry refering to the original author.


-- 

peb at mppmu dot mpg dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |


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


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

* [Bug driver/26466] [3.4 only] multilib selection in gcc driver ignores removal of switches
  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
                   ` (4 preceding siblings ...)
  2006-02-27 14:51 ` peb at mppmu dot mpg dot de
@ 2006-02-27 14:55 ` pinskia at gcc dot gnu dot org
  2006-03-01  5:14 ` gdr at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-27 14:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-02-27 14:51 -------
Fine, then the last release of 3.4.x is comming so, it might make it into it
but I doubt it, post the backport to gcc-patches@gcc.gnu.org and maybe the
release manager for 3.4 will approve it.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-02-27 14:51:34
               date|                            |
            Summary|multilib selection in gcc   |[3.4 only] multilib
                   |driver ignores removal of   |selection in gcc driver
                   |switches                    |ignores removal of switches
   Target Milestone|4.0.0                       |3.4.6


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


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

* [Bug driver/26466] [3.4 only] multilib selection in gcc driver ignores removal of switches
  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
                   ` (5 preceding siblings ...)
  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
  6 siblings, 0 replies; 8+ messages in thread
From: gdr at gcc dot gnu dot org @ 2006-03-01  5:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from gdr at gcc dot gnu dot org  2006-03-01 05:14 -------
Not a regression.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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).