From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78801 invoked by alias); 5 Nov 2018 09:07:37 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 78777 invoked by uid 89); 5 Nov 2018 09:07:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=3.6 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,FROM_EXCESS_BASE64,GARBLED_BODY,KAM_LOTSOFHASH,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:sk:crossgc, =ba=e4=b8, =a6=e4=ba, =b7=e4=b8=ad=e5?= X-HELO: lucky1.263xmail.com Received: from lucky1.263xmail.com (HELO lucky1.263xmail.com) (211.157.147.132) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 05 Nov 2018 09:07:33 +0000 Received: from yzheng?techyauld.com (unknown [192.168.167.83]) by lucky1.263xmail.com (Postfix) with ESMTP id C4C19383 for ; Mon, 5 Nov 2018 17:07:28 +0800 (CST) X-263anti-spam:KSV:0;BIG:0; X-MAIL-GRAY:0 X-MAIL-DELIVERY:1 X-KSVirus-check:0 X-ADDR-CHECKED4:1 X-ABS-CHECKED:0 X-SKE-CHECKED:0 X-ANTISPAM-LEVEL:2 Received: from localhost (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id 03238369 for ; Mon, 5 Nov 2018 17:07:27 +0800 (CST) X-IP-DOMAINF:1 X-RL-SENDER:yzheng@techyauld.com X-FST-TO:crossgcc@sourceware.org X-SENDER-IP:106.39.52.90 X-LOGIN-NAME:yzheng@techyauld.com X-UNIQUE-TAG: X-ATTACHMENT-NUM:0 X-SENDER:yzheng@techyauld.com X-DNS-TYPE:0 Received: from localhost (unknown [106.39.52.90]) by smtp.263.net (Postfix) whith ESMTP id 24899BIN1PP; Mon, 05 Nov 2018 17:07:28 +0800 (CST) Date: Mon, 05 Nov 2018 09:07:00 -0000 From: =?utf-8?B?6YORIOeljg==?= To: crossgcc@sourceware.org Subject: [crosstool-ng/crosstool-ng] in multilib config, 32bit binaries override the 64bit ones Message-ID: <20181105090640.GA32161@techyauld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.10.1 (2018-07-13) X-SW-Source: 2018-11/txt/msg00008.txt.bz2 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 郑 祎 北京中科腾越科技发展有限公司 北京市海淀区东北旺西路8号中关村软件园21号楼启明星辰大厦二层六区(邮编:100094)