Hi, gatekeepers:

    When I try to debug IPA using "-show" information, no input file error
will be reported.

    Reason:

        Missing ""in value of -INTERNAL:old_ld_lib_path

    

Attached Please find my patch.

    


[rfshen@srf_sl IPA]$ gdb --args
/home/rfshen/workspace/build_trunk_x86/x86_bin//lib/gcc-lib/x86_64-open64-li
nux/4.2/ipa_link
-INTERNAL:old_ld_lib_path=/home/rfshen/workspace/build_trunk_x86/x86_bin//li
b/gcc-lib/x86_64-open64-linux/4.2/;/home/rfshen/workspace/build_trunk_x86/x8
6_bin/bin/../i686-pc-linux-gnu/x86_32-linux/lib
-L/home/rfshen/workspace/build_trunk_x86/x86_bin/lib/gcc-lib/x86_64-open64-l
inux/4.2/32
-Wl,-rpath,/home/rfshen/workspace/build_trunk_x86/x86_bin/lib/gcc-lib/x86_64
-open64-linux/4.2/32
-Wl,-rpath-link,/home/rfshen/workspace/build_trunk_x86/x86_bin/lib/gcc-lib/x
86_64-open64-linux/4.2/32 -INTERNAL:lang=C -keep -ipa -m32 -m elf_i386
-L/home/rfshen/workspace/build_trunk_x86/x86_bin/open64-gcc-4.2.0/lib/gcc/x8
6_64-redhat-linux/4.2.0/32/
-Wl,-rpath,/home/rfshen/workspace/build_trunk_x86/x86_bin/open64-gcc-4.2.0/l
ib/gcc/x86_64-redhat-linux/4.2.0/32/
-Wl,-rpath-link,/home/rfshen/workspace/build_trunk_x86/x86_bin/open64-gcc-4.
2.0/lib/gcc/x86_64-redhat-linux/4.2.0/32/ -L/usr/lib/../lib/
-Wl,-rpath-link,/usr/lib/../lib/
-L/home/rfshen/workspace/build_trunk_x86/x86_bin///lib/gcc-lib/x86_64-open64
-linux/4.2/32
-Wl,-rpath,/home/rfshen/workspace/build_trunk_x86/x86_bin///lib/gcc-lib/x86_
64-open64-linux/4.2/32
-Wl,-rpath-link,/home/rfshen/workspace/build_trunk_x86/x86_bin///lib/gcc-lib
/x86_64-open64-linux/4.2/32 /usr/lib/../lib/crt1.o
/home/rfshen/workspace/build_trunk_x86/x86_bin/open64-gcc-4.2.0/lib/gcc/x86_
64-redhat-linux/4.2.0/32/crtbegin.o /usr/lib/../lib/crti.o a.o s.o sh.o
-lopen64rt -lgcc -lc -lgcc
/home/rfshen/workspace/build_trunk_x86/x86_bin/open64-gcc-4.2.0/lib/gcc/x86_
64-redhat-linux/4.2.0/32/crtend.o /usr/lib/../lib/crtn.o

GNU gdb Red Hat Linux (6.5-16.el5rh)

Copyright (C) 2006 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain
conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for details.

This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".

 

(gdb) r

Starting program:
/home/rfshen/workspace/build_trunk_x86/x86_bin/lib/gcc-lib/x86_64-open64-lin
ux/4.2/ipa_link
-INTERNAL:old_ld_lib_path=/home/rfshen/workspace/build_trunk_x86/x86_bin//li
b/gcc-lib/x86_64-open64-linux/4.2/

/home/rfshen/workspace/build_trunk_x86/x86_bin/lib/gcc-lib/x86_64-open64-lin
ux/4.2/ipa_link: no input files

 

Program exited with code 01.

(gdb)                                  

 

 

Best regards.

Shen ruifen

 

<<image001.jpg>>

Attachment: ipa.patch
Description: Binary data

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to