public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/42520] New: lto1 does not see -march and -mtune options
@ 2009-12-28 19:30 d dot g dot gorbachev at gmail dot com
2009-12-31 15:14 ` [Bug driver/42520] " rguenth at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2009-12-28 19:30 UTC (permalink / raw)
To: gcc-bugs
For example, `gcc -march=pentium -flto -fuse-linker-plugin main.c' causes this:
/usr/local/libexec/gcc/i686-pc-linux-gnu/4.5.0/lto1 -quiet -dumpbase cc0AFVJ9
-mtune=generic -march=pentium4 -auxbase-strip /tmp/cc7X43Dc.lto.o
-fuse-linker-plugin -fresolution @/tmp/ccoGGiIc -o /tmp/ccCcL0Ff.s
"-mtune=generic -march=pentium4" appears because GCC (4.5.0 20091224) was
configured with "--with-arch=pentium4 --with-tune=generic" options.
--
Summary: lto1 does not see -march and -mtune options
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: d dot g dot gorbachev at gmail dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42520
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug driver/42520] lto1 does not see -march and -mtune options
2009-12-28 19:30 [Bug driver/42520] New: lto1 does not see -march and -mtune options d dot g dot gorbachev at gmail dot com
@ 2009-12-31 15:14 ` rguenth at gcc dot gnu dot org
2010-01-01 16:51 ` d dot g dot gorbachev at gmail dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-31 15:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2009-12-31 15:14 -------
It works with GCC built w/o --with-arch/--with-tune.
Can you paste the complete output of -v?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42520
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug driver/42520] lto1 does not see -march and -mtune options
2009-12-28 19:30 [Bug driver/42520] New: lto1 does not see -march and -mtune options d dot g dot gorbachev at gmail dot com
2009-12-31 15:14 ` [Bug driver/42520] " rguenth at gcc dot gnu dot org
@ 2010-01-01 16:51 ` d dot g dot gorbachev at gmail dot com
2010-01-01 17:16 ` rguenth at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2010-01-01 16:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from d dot g dot gorbachev at gmail dot com 2010-01-01 16:51 -------
Created an attachment (id=19436)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19436&action=view)
Output of -v
Does not work for me without --with-arch / --with-tune.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42520
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug driver/42520] lto1 does not see -march and -mtune options
2009-12-28 19:30 [Bug driver/42520] New: lto1 does not see -march and -mtune options d dot g dot gorbachev at gmail dot com
2009-12-31 15:14 ` [Bug driver/42520] " rguenth at gcc dot gnu dot org
2010-01-01 16:51 ` d dot g dot gorbachev at gmail dot com
@ 2010-01-01 17:16 ` rguenth at gcc dot gnu dot org
2010-01-01 17:53 ` d dot g dot gorbachev at gmail dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-01 17:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-01 17:16 -------
It looks like the linker plugin doesn't get the -march command line flag
passed. It works for me without -fuse-linker-plugin.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |espindola at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42520
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug driver/42520] lto1 does not see -march and -mtune options
2009-12-28 19:30 [Bug driver/42520] New: lto1 does not see -march and -mtune options d dot g dot gorbachev at gmail dot com
` (2 preceding siblings ...)
2010-01-01 17:16 ` rguenth at gcc dot gnu dot org
@ 2010-01-01 17:53 ` d dot g dot gorbachev at gmail dot com
2010-01-01 20:26 ` steven at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2010-01-01 17:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from d dot g dot gorbachev at gmail dot com 2010-01-01 17:52 -------
`-fuse-linker-plugin' is crucial to reproduce this bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42520
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug driver/42520] lto1 does not see -march and -mtune options
2009-12-28 19:30 [Bug driver/42520] New: lto1 does not see -march and -mtune options d dot g dot gorbachev at gmail dot com
` (3 preceding siblings ...)
2010-01-01 17:53 ` d dot g dot gorbachev at gmail dot com
@ 2010-01-01 20:26 ` steven at gcc dot gnu dot org
2010-01-03 22:29 ` [Bug driver/42520] lto1 does not see -march and -mtune options with -fuse-linker-plugin rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-01-01 20:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from steven at gcc dot gnu dot org 2010-01-01 20:25 -------
IMHO this ought to be fixed before gcc 4.5 is released. Diego, agree?
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |41588
nThis| |
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-01-01 20:25:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42520
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug driver/42520] lto1 does not see -march and -mtune options with -fuse-linker-plugin
2009-12-28 19:30 [Bug driver/42520] New: lto1 does not see -march and -mtune options d dot g dot gorbachev at gmail dot com
` (4 preceding siblings ...)
2010-01-01 20:26 ` steven at gcc dot gnu dot org
@ 2010-01-03 22:29 ` rguenth at gcc dot gnu dot org
2010-01-04 0:53 ` hjl at gcc dot gnu dot org
2010-01-04 4:28 ` hjl dot tools at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-03 22:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rguenth at gcc dot gnu dot org 2010-01-03 22:29 -------
*** Bug 42598 has been marked as a duplicate of this bug. ***
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl dot tools at gmail dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42520
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug driver/42520] lto1 does not see -march and -mtune options with -fuse-linker-plugin
2009-12-28 19:30 [Bug driver/42520] New: lto1 does not see -march and -mtune options d dot g dot gorbachev at gmail dot com
` (5 preceding siblings ...)
2010-01-03 22:29 ` [Bug driver/42520] lto1 does not see -march and -mtune options with -fuse-linker-plugin rguenth at gcc dot gnu dot org
@ 2010-01-04 0:53 ` hjl at gcc dot gnu dot org
2010-01-04 4:28 ` hjl dot tools at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-01-04 0:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from hjl at gcc dot gnu dot org 2010-01-04 00:53 -------
Subject: Bug 42520
Author: hjl
Date: Mon Jan 4 00:52:50 2010
New Revision: 155601
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155601
Log:
Pass -m* and -v to -plugin-opt
gcc/
2010-01-03 H.J. Lu <hongjiu.lu@intel.com>
PR lto/42520
* gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt.
lto-plugin/
2010-01-03 H.J. Lu <hongjiu.lu@intel.com>
PR lto/42520
* lto-plugin.c (exec_lto_wrapper): Output lto-wrapper command
if -v is passed.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcc.c
trunk/lto-plugin/ChangeLog
trunk/lto-plugin/lto-plugin.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42520
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug driver/42520] lto1 does not see -march and -mtune options with -fuse-linker-plugin
2009-12-28 19:30 [Bug driver/42520] New: lto1 does not see -march and -mtune options d dot g dot gorbachev at gmail dot com
` (6 preceding siblings ...)
2010-01-04 0:53 ` hjl at gcc dot gnu dot org
@ 2010-01-04 4:28 ` hjl dot tools at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-01-04 4:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from hjl dot tools at gmail dot com 2010-01-04 04:28 -------
Fixed.
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42520
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-01-04 4:28 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-28 19:30 [Bug driver/42520] New: lto1 does not see -march and -mtune options d dot g dot gorbachev at gmail dot com
2009-12-31 15:14 ` [Bug driver/42520] " rguenth at gcc dot gnu dot org
2010-01-01 16:51 ` d dot g dot gorbachev at gmail dot com
2010-01-01 17:16 ` rguenth at gcc dot gnu dot org
2010-01-01 17:53 ` d dot g dot gorbachev at gmail dot com
2010-01-01 20:26 ` steven at gcc dot gnu dot org
2010-01-03 22:29 ` [Bug driver/42520] lto1 does not see -march and -mtune options with -fuse-linker-plugin rguenth at gcc dot gnu dot org
2010-01-04 0:53 ` hjl at gcc dot gnu dot org
2010-01-04 4:28 ` hjl dot tools at gmail dot com
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).