Hi, sun

         Are you free to review this patch?

        The patch is attached again.

Thx very much.

 

From: shenrfen [mailto:shenr...@gmail.com] 
Sent: Friday, January 13, 2012 12:00 PM
To: 'open64-devel@lists.sourceforge.net'
Subject: Request for Code review : arguments error for ipa link when
debugging

 

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

 

<<image002.jpg>>

Attachment: ipa.patch
Description: Binary data

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to