From owner-freebsd-ports@FreeBSD.ORG Sun Jul 28 15:25:17 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4EDDBA05 for ; Sun, 28 Jul 2013 15:25:17 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:5]) by mx1.freebsd.org (Postfix) with ESMTP id D9F172FC1 for ; Sun, 28 Jul 2013 15:25:14 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail05.adl6.internode.on.net with ESMTP; 29 Jul 2013 00:55:11 +0930 Message-ID: <51F537D4.9060702@ShaneWare.Biz> Date: Mon, 29 Jul 2013 00:55:08 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: lbartoletti Subject: Re: Freeocl build but doesn't work References: <20130725091756.4a01c51d@bureau> <20130725113623.1a9ad58d@kalimero.tijl.coosemans.org> <20130727195106.6ae79995@bureau> In-Reply-To: <20130727195106.6ae79995@bureau> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Tijl Coosemans , ohartman@zedat.fu-berlin.de, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2013 15:25:17 -0000 On 28/07/2013 03:21, lbartoletti wrote: > Le Thu, 25 Jul 2013 11:36:23 +0200, >> So try to compile your test with "gcc46 >> -Wl,-rpath=/usr/local/lib/gcc46". > > Hello, > > It doesn't work. I tried it with FreeBSD amd64 9.1 and 10.0 and > FreeOCL / OpenCL require GLIBCXX_3.4.11 into libstdc++... I have seen a similar thing trying to compile lmms with gcc46. From what I can tell the linker has brought in a gcc42 version with another lib which prevents the newer gcc46 version coming in. I haven't got around to working it out but thought of looking through external libs used to find the one that brings in the older version and building that with gcc46. I also wonder if a static linked c++ lib may be preventing the newer version being brought in.