This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See crosstool-NG for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello Trevor! Thank you for your hint. I tried a combination of setting LD_LIBRARY_PATH & starting via ld: export LD_LIBRARY_PATH=/opt/rst/lib /opt/rst/lib/ld-linux.so.3 /opt/rst/usr/bin/gdb This leads to a flooding of my console with messages like Name collision between linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux linux Name collision between linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m linux-m until I killed the process... If this had worked I would use it as second best solution. Although I do not know if these message would also occur if gdb has been built with --rpath=/opt/rst/lib --dynamic-linker=/opt/rst/lib/ld-linux.so.3 ... In my little hello world test program these message do not occur...I think just because it does not use any locale functions. RÃdiger Trevor Woerner <twoerner@gmail.com> hat am 10. Februar 2013 um 19:34 geschrieben: > On Sun, Feb 10, 2013 at 12:02 PM, CT NG <crosstoolng@mrblade.de> wrote: > > This helps solving the library-finding problem but it does not allow to > > specify the different ld.so library. > > If you want to use a specific runtime linker you can invoke it > manually (although this doesn't help you make it transparent): > $ /lib64/ld-linux-x86-64.so.2 /usr/bin/ls / > bin boot dev etc home lib lib64 lost+found media mnt opt > proc root run sbin selinux srv sys tmp usr var > > I seem to think there is some way to influence which linker gets > called, otherwise on a system with both 32-bit and 64-bit runtime > linkers, how would it know which one to call? > > $ /lib/ld-linux.so.2 /usr/bin/ls > /usr/bin/ls: error while loading shared libraries: /usr/bin/ls: wrong > ELF class: ELFCLASS64 > > -- > For unsubscribe information see http://sourceware.org/lists.html#faq > -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |