Re: [yocto] [poky] Is this a bug of binutils

2013-09-26 Thread Laurentiu Palcu
Hi Li Zhijian, On Thu, Sep 26, 2013 at 11:57:22AM +0800, Li Zhijian wrote: Hi,Laurentiu I think it could be something wrong with binutils(2.23.1 or later) there is different behavior at binutils-2.23.1/ld/ldfile.c(ldfile_open_file_search) from binutils-2.22 If both --sysroot directory

Re: [yocto] [poky] Is this a bug of binutils

2013-09-25 Thread Li Zhijian
Hi,Laurentiu I think it could be something wrong with binutils(2.23.1 or later) there is different behavior at binutils-2.23.1/ld/ldfile.c(ldfile_open_file_search) from binutils-2.22 If both --sysroot directory and -L directory include libc.so , ld don't work In my case, there are double

Re: [yocto] [poky] Is this a bug of binutils

2013-09-22 Thread Li Zhijian
at 2013-9-20 19:00, Laurentiu Palcu wrote: Hi, On Fri, Sep 20, 2013 at 06:25:19PM +0800, Li Zhijian wrote: III) compile a simple C program # cat test.c int main () { printf(hello world\n); return 0; } # source toolchain-1.3-tcmode-default/environment-setup-x86_64-poky-linux # $CC -o test

Re: [yocto] [poky] Is this a bug of binutils

2013-09-22 Thread Li Zhijian
at 2013-9-23 10:34, Li Zhijian wrote: at 2013-9-20 19:00, Laurentiu Palcu wrote: Hi, On Fri, Sep 20, 2013 at 06:25:19PM +0800, Li Zhijian wrote: III) compile a simple C program # cat test.c int main () { printf(hello world\n); return 0; } # source

Re: [yocto] [poky] Is this a bug of binutils

2013-09-20 Thread Laurentiu Palcu
On Fri, Sep 20, 2013 at 11:43:31AM +0300, Laurentiu Palcu wrote: Hi, On Fri, Sep 20, 2013 at 02:45:24PM +0800, Li Zhijian wrote: Hi,all I got a big problem when using the cross-toolchain to compile a simple C program. This problem since 3ae71c74c71f13a390b21b4c3ead04e51aaa82b8

Re: [yocto] [poky] Is this a bug of binutils

2013-09-20 Thread Li Zhijian
at 2013-9-20 16:50, Laurentiu Palcu wrote: On Fri, Sep 20, 2013 at 11:43:31AM +0300, Laurentiu Palcu wrote: Hi, On Fri, Sep 20, 2013 at 02:45:24PM +0800, Li Zhijian wrote: Hi,all I got a big problem when using the cross-toolchain to compile a simple C program. This problem since

Re: [yocto] [poky] Is this a bug of binutils

2013-09-20 Thread Laurentiu Palcu
On Fri, Sep 20, 2013 at 05:56:25PM +0800, Li Zhijian wrote: at 2013-9-20 16:50, Laurentiu Palcu wrote: On Fri, Sep 20, 2013 at 11:43:31AM +0300, Laurentiu Palcu wrote: Hi, On Fri, Sep 20, 2013 at 02:45:24PM +0800, Li Zhijian wrote: Hi,all I got a big problem when using the

Re: [yocto] [poky] Is this a bug of binutils

2013-09-20 Thread Li Zhijian
at 2013-9-20 18:02, Laurentiu Palcu wrote: On Fri, Sep 20, 2013 at 05:56:25PM +0800, Li Zhijian wrote: at 2013-9-20 16:50, Laurentiu Palcu wrote: On Fri, Sep 20, 2013 at 11:43:31AM +0300, Laurentiu Palcu wrote: Hi, On Fri, Sep 20, 2013 at 02:45:24PM +0800, Li Zhijian wrote: Hi,all I got a

Re: [yocto] [poky] Is this a bug of binutils

2013-09-20 Thread Laurentiu Palcu
Hi, On Fri, Sep 20, 2013 at 06:25:19PM +0800, Li Zhijian wrote: III) compile a simple C program # cat test.c int main () { printf(hello world\n); return 0; } # source toolchain-1.3-tcmode-default/environment-setup-x86_64-poky-linux # $CC -o test test.c -L