public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/40429]  New: [LTO] Handling of -o without space
@ 2009-06-12 15:40 rmansfield at qnx dot com
  2009-06-13 19:34 ` [Bug lto/40429] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rmansfield at qnx dot com @ 2009-06-12 15:40 UTC (permalink / raw)
  To: gcc-bugs

If -o<filename> is specified multiple -o options are passed to the assembler,
and the assembly from lto1 is compiled into file specified the user, and the
temporary objfile is empty.

ryan@ryan:~/gcc/lto/x86-build/gcc$ ./xgcc -B. -flto t.c -c                      
ryan@ryan:~/gcc/lto/x86-build/gcc$ ./xgcc -B. -shared -o libfoo.so t.o -flto    
ryan@ryan:~/gcc/lto/x86-build/gcc$ ./xgcc -B. -shared -olibfoo.so t.o -flto
/tmp/cco4SVei.lto.o: file not recognized: File truncated
collect2: ld returned 1 exit status
ryan@ryan:~/gcc/lto/x86-build/gcc$ ./xgcc -B. -shared -olibfoo.so t.o -flto -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../configure --enable-languages=c --enable-lto
--disable-bootstrap
Thread model: posix
gcc version 4.5.0 20090605 (experimental) (lto merged with rev 148228)
COMPILER_PATH=./
LIBRARY_PATH=./:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-B.' '-shared' '-olibfoo.so' '-flto' '-v' '-mtune=generic'
 ./collect2 -flto --eh-frame-hdr -m elf_i386 -shared -olibfoo.so
/usr/lib/crti.o ./crtbeginS.o -L. t.o -lgcc --as-needed -lgcc_s --no-as-needed
-lc -lgcc --as-needed -lgcc_s --no-as-needed ./crtendS.o /usr/lib/crtn.o
Reading specs from ./specs
COLLECT_GCC=././xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../configure --enable-languages=c --enable-lto
--disable-bootstrap
Thread model: posix
gcc version 4.5.0 20090605 (experimental) (lto merged with rev 148228)
COLLECT_GCC_OPTIONS='-combine' '-c' '-o' '/tmp/ccnLb3Ia.lto.o' '-B.' '-shared'
'-olibfoo.so' '-v' '-mtune=generic'
 ./lto1 -quiet -dumpbase t.o -mtune=generic -auxbase-strip /tmp/ccnLb3Ia.lto.o
-auxbase-strip libfoo.so -version @/tmp/ccg3ryza -o /tmp/ccI1kpZa.s
GNU GIMPLE (lto merged with rev 148228) version 4.5.0 20090605 (experimental)
(i686-pc-linux-gnu)
        compiled by GNU C version 4.3.3, GMP version 4.2.1, MPFR version 2.3.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU GIMPLE (lto merged with rev 148228) version 4.5.0 20090605 (experimental)
(i686-pc-linux-gnu)
        compiled by GNU C version 4.3.3, GMP version 4.2.1, MPFR version 2.3.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
COLLECT_GCC_OPTIONS='-combine' '-c' '-o' '/tmp/ccnLb3Ia.lto.o' '-B.' '-shared'
'-olibfoo.so' '-v' '-mtune=generic'
 ./as -V -Qy -o /tmp/ccnLb3Ia.lto.o -olibfoo.so /tmp/ccI1kpZa.s
GNU assembler version 2.19.1 (i486-linux-gnu) using BFD version (GNU Binutils
for Debian) 2.19.1
COMPILER_PATH=./:./
LIBRARY_PATH=./:./:/lib/:/usr/lib/:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-combine' '-c' '-o' '/tmp/ccnLb3Ia.lto.o' '-B.' '-shared'
'-olibfoo.so' '-v' '-mtune=generic'
/tmp/ccnLb3Ia.lto.o: file not recognized: File truncated
collect2: ld returned 1 exit status


-- 
           Summary: [LTO] Handling of -o without space
           Product: gcc
           Version: lto
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rmansfield at qnx 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=40429


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

* [Bug lto/40429] [LTO] Handling of -o without space
  2009-06-12 15:40 [Bug lto/40429] New: [LTO] Handling of -o without space rmansfield at qnx dot com
@ 2009-06-13 19:34 ` pinskia at gcc dot gnu dot org
  2009-07-14  3:25 ` bje at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-06-13 19:34 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2009-
                   |                            |06/msg01061.html
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |patch
   Last reconfirmed|0000-00-00 00:00:00         |2009-06-13 19:34:44
               date|                            |


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


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

* [Bug lto/40429] [LTO] Handling of -o without space
  2009-06-12 15:40 [Bug lto/40429] New: [LTO] Handling of -o without space rmansfield at qnx dot com
  2009-06-13 19:34 ` [Bug lto/40429] " pinskia at gcc dot gnu dot org
@ 2009-07-14  3:25 ` bje at gcc dot gnu dot org
  2009-07-24  0:42 ` bje at gcc dot gnu dot org
  2009-07-24  0:43 ` bje at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bje at gcc dot gnu dot org @ 2009-07-14  3:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bje at gcc dot gnu dot org  2009-07-14 03:25 -------
Confirmed in lto revision 149607.


-- 


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


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

* [Bug lto/40429] [LTO] Handling of -o without space
  2009-06-12 15:40 [Bug lto/40429] New: [LTO] Handling of -o without space rmansfield at qnx dot com
  2009-06-13 19:34 ` [Bug lto/40429] " pinskia at gcc dot gnu dot org
  2009-07-14  3:25 ` bje at gcc dot gnu dot org
@ 2009-07-24  0:42 ` bje at gcc dot gnu dot org
  2009-07-24  0:43 ` bje at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bje at gcc dot gnu dot org @ 2009-07-24  0:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bje at gcc dot gnu dot org  2009-07-24 00:42 -------
Subject: Bug 40429

Author: bje
Date: Fri Jul 24 00:41:54 2009
New Revision: 150037

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=150037
Log:
2009-06-13  Ryan Mansfield  <rmansfield@qnx.com>

        PR lto/40429
        * lto-wrapper.c (run_gcc): Handle no space between -o and filename
        argument.

Modified:
    branches/lto/gcc/ChangeLog.lto
    branches/lto/gcc/lto-wrapper.c


-- 


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


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

* [Bug lto/40429] [LTO] Handling of -o without space
  2009-06-12 15:40 [Bug lto/40429] New: [LTO] Handling of -o without space rmansfield at qnx dot com
                   ` (2 preceding siblings ...)
  2009-07-24  0:42 ` bje at gcc dot gnu dot org
@ 2009-07-24  0:43 ` bje at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: bje at gcc dot gnu dot org @ 2009-07-24  0:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from bje at gcc dot gnu dot org  2009-07-24 00:42 -------
I checked in Ryan's patch for him.


-- 

bje at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2009-07-24  0:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-12 15:40 [Bug lto/40429] New: [LTO] Handling of -o without space rmansfield at qnx dot com
2009-06-13 19:34 ` [Bug lto/40429] " pinskia at gcc dot gnu dot org
2009-07-14  3:25 ` bje at gcc dot gnu dot org
2009-07-24  0:42 ` bje at gcc dot gnu dot org
2009-07-24  0:43 ` bje 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).