From owner-freebsd-ports@FreeBSD.ORG Thu Mar 15 21:14:39 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B6635106564A; Thu, 15 Mar 2012 21:14:39 +0000 (UTC) (envelope-from zeising@daemonic.se) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 34F0F8FC0C; Thu, 15 Mar 2012 21:14:39 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id D790040013; Thu, 15 Mar 2012 22:14:36 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id CC6114000E; Thu, 15 Mar 2012 22:14:36 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (mx.daemonic.se [IPv6:2001:470:dca9:0:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 942BB40006; Thu, 15 Mar 2012 22:14:36 +0100 (CET) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 1C2FB119D3D; Thu, 15 Mar 2012 22:14:36 +0100 (CET) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([IPv6:2001:470:dca9:0:1::3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [2001:470:dca9:0:1::6]) (amavisd-new, port 10025) with ESMTPS id zaIAjAm58eoZ; Thu, 15 Mar 2012 22:14:33 +0100 (CET) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2001:470:dca9:0:1::4]) by mx.daemonic.se (Postfix) with ESMTPS id B8C29119D3C; Thu, 15 Mar 2012 22:14:33 +0100 (CET) Received: from [IPv6:2001:470:dca9:1::4] (vivi.daemonic.se [IPv6:2001:470:dca9:1::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 7E2DC12B089; Thu, 15 Mar 2012 22:14:33 +0100 (CET) Message-ID: <4F625BB3.4060700@daemonic.se> Date: Thu, 15 Mar 2012 22:14:27 +0100 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: Jeremy Messenger References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: FreeBSD Ports Mailing List , lua@FreeBSD.org Subject: Re: lang/lua: It does need gmake. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2012 21:14:39 -0000 On 2012-03-15 20:50, Jeremy Messenger wrote: > I get a build failure on amd64: > > --------------------------------- > /usr/bin/ld: lapi.o: relocation R_X86_64_32 against `luaO_nilobject_' > can not be used when making a shared object; recompile with -fPIC > lapi.o: could not read symbols: Bad value > *** Error code 1 > --------------------------------- > > I got it fixed by add USE_GMAKE=yes in the Makefile and now I can get > it built ok. If you compare the build log between make and gmake. You > will see it has different output. This > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/162279 has broken it. > > May I commit it by add USE_GMAKE=yes back in? > > Thanks, > Mezz > > Hi! I can't reproduce the error. I just tried and succeeded in compiling and linking lua on a x86_64 virtual machine. The md5 sum of liblua-5.1.so.1 is also the same, regardless of using make or gmake. Regards! -- Niclas