From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 4 21:56:44 2011 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 178421065672 for ; Tue, 4 Jan 2011 21:56:44 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 03B098FC1A for ; Tue, 4 Jan 2011 21:56:44 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id p04LTf3A029294 for ; Tue, 4 Jan 2011 13:29:42 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <4D2391A0.7010002@rawbw.com> Date: Tue, 04 Jan 2011 13:31:12 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101211 Thunderbird/3.0.11 MIME-Version: 1.0 To: freebsd-emulation@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Is Linux emulator not up-to-date and doesn't understand STB_GNU_UNIQUE binding? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2011 21:56:44 -0000 I have the working app in Ubuntu. When I copy it to FreeBSD with all shared libs I get such message: app.linux: symbol lookup error: ../lib/libstdc++.so.6: undefined symbol: _ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE, version GLIBCXX_3.4 ../lib/libstdc++.so.6 has been taken from Ubuntu (gcc-4.5.1) Upon closer inspection I see that on FreeBSD: > readelf -aW ../lib/libstdc++.so.6 | grep _ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE 1426: 000f30dc 4 OBJECT : 10 DEFAULT 26 _ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_3.4 3380: 000f30dc 4 OBJECT : 10 DEFAULT 26 _ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE But on Ubuntu the word 10 is replaced with UNIQUE. It refers to the relatively newly introduced extension STB_GNU_UNIQUE, see here: http://osdir.com/ml/general/2009-08/msg09809.html Should Linux emulator be updated? Yuri