From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 31 09:00:29 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02B6016A41F for ; Wed, 31 Aug 2005 09:00:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4038543D49 for ; Wed, 31 Aug 2005 09:00:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7V90RBs099381 for ; Wed, 31 Aug 2005 09:00:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7V90RFI099380; Wed, 31 Aug 2005 09:00:27 GMT (envelope-from gnats) Resent-Date: Wed, 31 Aug 2005 09:00:27 GMT Resent-Message-Id: <200508310900.j7V90RFI099380@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bradley T Hughes Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2226A16A41F for ; Wed, 31 Aug 2005 08:56:56 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5D9743D48 for ; Wed, 31 Aug 2005 08:56:55 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j7V8utfX069331 for ; Wed, 31 Aug 2005 08:56:55 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j7V8utVf069330; Wed, 31 Aug 2005 08:56:55 GMT (envelope-from nobody) Message-Id: <200508310856.j7V8utVf069330@www.freebsd.org> Date: Wed, 31 Aug 2005 08:56:55 GMT From: Bradley T Hughes To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/85513: Intel C++ compiler not 100% binary compatible with system compiler X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2005 09:00:29 -0000 >Number: 85513 >Category: ports >Synopsis: Intel C++ compiler not 100% binary compatible with system compiler >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 31 09:00:27 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Bradley T Hughes >Release: 6.0-BETA3 >Organization: Trolltech AS >Environment: FreeBSD reticent.troll.no 6.0-BETA3 FreeBSD 6.0-BETA3 #2: Mon Aug 29 09:25:17 CEST 2005 root@reticent.troll.no:/usr/obj/usr/src/sys/RETICENT i386 >Description: The Intel C++ compiler is supposed to be 100% binary compatible with gcc 3.4. However, this isn't the case in one specific situaion: if a shared library is compiled with the Intel compiler, an app linked with the library and then run-time linked with a library build with g++, the dynamic linker can't find the __intel_cpu_indicator symbol. >How-To-Repeat: Download, and untar http://trolls.troll.no/bhughes/icpc_bug4.tar.gz. In the icpc_bug4 directory, type 'make' - this will build libgo.so using icc, then build and link app with the icc version of libgo.so, then it removes and rebuids libgo.so with g++. >Fix: If it was possible to link with the libimf.so library shipped with the intel compiler, the problem would be solved, but we used the static version, and the link places the __intel_cpu_indicator symbol in the shared library instead of the executable. One possible solution would be to have a small shared library that defines the __intel_cpu_indicator symbol, and link that before the static libimf.a library. >Release-Note: >Audit-Trail: >Unformatted: