This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Thursday 28 May 2009 05:11:16 Sven Rebhan wrote:
> 2009/5/28 Mike Frysinger <vapier@gentoo.org>:
> > any changes proposed have to not break full paths outside of the sysroot.
> > i.e. something like:
> > cd ~/
> > mkdir lib/scripts
> > echo "GROUP ( $PWD/lib/libfoo.so )" > lib/scripts/libfoo.so
> > <make a library at lib/libfoo.so>
> > armv4tl-softfloat-linux-gnueabi-gcc -Llib/scripts -lfoo ....
>
> This is handled correctly in the searchpath add procedure (sorry
> don't have the code right now). However, if you compile with
> armv4tl-softfloat-linux-gnueabi-gcc ...
> ${ABSOLUTE_PATH_TO_LD_SCRIPT}/libfoo.so it should fail. Again, the bug
> only occures in the absolute filename case in combination with linker
> scripts.
it shouldnt fail because the absolute path as specified in the linker script
is the correct path. ld shouldnt prefix the sysroot whether -lfoo or
..../libfoo.so is used here.
-mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |