From owner-freebsd-ports@FreeBSD.ORG Sun Jan 25 15:44:35 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B2E8B5AA; Sun, 25 Jan 2015 15:44:35 +0000 (UTC) Received: from tensor.andric.com (unknown [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C7EC214; Sun, 25 Jan 2015 15:44:35 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::79cb:885c:d74b:842b] (unknown [IPv6:2001:7b8:3a7:0:79cb:885c:d74b:842b]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 6287F5C2E; Sun, 25 Jan 2015 16:44:30 +0100 (CET) Subject: Re: head/graphics/svgalib does not build in poudriere Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/signed; boundary="Apple-Mail=_CD3DAC8A-3DE1-4CBA-94D4-0C3F21DCD557"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b4 From: Dimitry Andric In-Reply-To: <20150125101145.GA1906@c720-r276659> Date: Sun, 25 Jan 2015 16:44:39 +0100 Message-Id: References: <20150125075122.GA1377@c720-r276659> <20150125101145.GA1906@c720-r276659> To: Matthias Apitz X-Mailer: Apple Mail (2.1993) Cc: freebsd-ports@freebsd.org, zeising@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2015 15:44:35 -0000 --Apple-Mail=_CD3DAC8A-3DE1-4CBA-94D4-0C3F21DCD557 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 25 Jan 2015, at 11:11, Matthias Apitz wrote: >=20 > El d=C3=ADa Sunday, January 25, 2015 a las 08:51:22AM +0100, Matthias = Apitz escribi=C3=B3: ... >> This is in head r276659, ports r377801 and with poudriere 3.1.1 on >> amd64; the port graphics/svgalib fails to build (only) in poudriere = with: >>=20 >> ... >> clang -Wall -Wstrict-prototypes -Wall -Wstrict-prototypes -fPIC >> -I/wrkdirs/usr/ports/graphics/svgalib/work/svgalib-1.4.3/include -I. >> -fstack-protector -fno-strict-aliasing -I../include -L../sharedlib = -o >> restorefont restorefont.o -lvga -lm >> ../sharedlib/libvga.so: undefined reference to `_outb' >> clang: error: linker command failed with exit code 1 (use -v to see >> invocation) ... >> the offending code is in src/paradise.c: >>=20 >> ... >> void inline _outb(unsigned port,unsigned value) >> { >> #ifdef DEBUG >> printf ("0x%x, 0x%x\n",port,value); >> #endif >> outb(port,value); >> } Try compiling the port with USE_CSTD=3Dgnu89, or change the function signature to: static inline void _outb(unsigned port,unsigned value) -Dimitry --Apple-Mail=_CD3DAC8A-3DE1-4CBA-94D4-0C3F21DCD557 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.26 iEYEARECAAYFAlTFD2cACgkQsF6jCi4glqMWFwCgiNsS/iNPXatms5E0SoZxf7LF AycAnRQS3L818oSpXWX9FrWFZsQ/nrf2 =ozxl -----END PGP SIGNATURE----- --Apple-Mail=_CD3DAC8A-3DE1-4CBA-94D4-0C3F21DCD557--