public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: "郑 祎" <yzheng@techyauld.com>
To: crossgcc@sourceware.org
Subject: [crosstool-ng/crosstool-ng] in multilib config, 32bit binaries override the 64bit ones
Date: Mon, 05 Nov 2018 09:07:00 -0000	[thread overview]
Message-ID: <20181105090640.GA32161@techyauld.com> (raw)

for example: iconv, gencat, getconf

and some other binaries:

[brock_zheng@crosstool-ng-1.23.0-474-gd19c46f8-x86_64-gcc8.2.0-gnueabihf-0-on-x86_64 17:06:41]$ file x86_64-unknown-linux-gnu/sysroot/usr/bin/*
x86_64-unknown-linux-gnu/sysroot/usr/bin/captoinfo:       symbolic link to tic
x86_64-unknown-linux-gnu/sysroot/usr/bin/catchsegv:       POSIX shell script, ASCII text executable
x86_64-unknown-linux-gnu/sysroot/usr/bin/clear:           ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=200edfaa88b7bcfd8e214238c0020baa1cb330ef, stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/gencat:          ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=b06b92365cc2008bc0e21c88ade32bcf1f3864ca, with debug_info, not stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/getconf:         ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=860f4271012cb63328cb2c1175ce1ab3725b3a25, with debug_info, not stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/getent:          ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=ca4bbd314f969b7f80f09ef9379b928a9c0da2f0, with debug_info, not stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/iconv:           ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=0be6d38c3bf9279ebff5d8afbb8466039ebd6ea4, with debug_info, not stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/infocmp:         ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=bde1e0779f7f9fb845f99b0bc63fcddc5209baee, stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/infotocap:       symbolic link to tic
x86_64-unknown-linux-gnu/sysroot/usr/bin/ldd:             Bourne-Again shell script, ASCII text executable
x86_64-unknown-linux-gnu/sysroot/usr/bin/lddlibc4:        ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=74a9a00c6ffe7aec0de6099850c5896035912aff, with debug_info, not stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/locale:          ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=51bb968f7aa94e2dba0cafb5e1fec85faceb41f6, with debug_info, not stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/localedef:       ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=1aeff7457624355f39982eb8a777176ae39b140f, with debug_info, not stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/makedb:          ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=1b053971ca438dd433d46e268bb135abf7501b24, with debug_info, not stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/mtrace:          Perl script text executable
x86_64-unknown-linux-gnu/sysroot/usr/bin/ncurses6-config: Bourne-Again shell script, ASCII text executable
x86_64-unknown-linux-gnu/sysroot/usr/bin/pcprofiledump:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=9ce164a80e42413e31a56aa6fd8cccf2e9e662e5, with debug_info, not stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/pldd:            ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=7d51737d534779d2f6fa535d952790bcd20ee088, with debug_info, not stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/reset:           symbolic link to tset
x86_64-unknown-linux-gnu/sysroot/usr/bin/rpcgen:          ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=31ab71eb385be081549d2a6bf2455a8b4fe57faf, with debug_info, not stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/sotruss:         Bourne-Again shell script, ASCII text executable
x86_64-unknown-linux-gnu/sysroot/usr/bin/sprof:           ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=40393803e18fd7060e97f708d560dbe99bfff04b, with debug_info, not stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/tabs:            ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=655bf3e969836f6196994ec8c0fcfb276637af84, stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/tic:             ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=1e00a4dce27fe562813f670b047e0661e8269e7c, stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/toe:             ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=2be19ac0a2c83fe63e5577a266c35e7df45f6776, stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/tput:            ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=ca2cbde3eee69c581adf608f44caf7326e77655d, stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/tset:            ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=60d55311d68c4a45bcb3c361d1b634ef8fb832c9, stripped
x86_64-unknown-linux-gnu/sysroot/usr/bin/tzselect:        Bourne-Again shell script, ASCII text executable
x86_64-unknown-linux-gnu/sysroot/usr/bin/xmlwf:           ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.14.71, BuildID[sha1]=140aae58850c079db8abb62117becfcecffc052b, with debug_info, not stripped


any idea about that?

iconv by default searches /usr/lib/gconv, which contains 64bit shared libs.
I know 'GCONV_PATH' environ can fixup the failure of iconv.......


-- 
Brock Zheng <yzheng@techyauld.com>
郑 祎

北京中科腾越科技发展有限公司
北京市海淀区东北旺西路8号中关村软件园21号楼启明星辰大厦二层六区(邮编:100094)


                 reply	other threads:[~2018-11-05  9:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181105090640.GA32161@techyauld.com \
    --to=yzheng@techyauld.com \
    --cc=crossgcc@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).