Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2015 16:44:39 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-ports@freebsd.org, zeising@FreeBSD.org
Subject:   Re: head/graphics/svgalib does not build in poudriere
Message-ID:  <FBA4BAED-9EE7-4EFA-8EA0-5D4FE9ED0590@FreeBSD.org>
In-Reply-To: <20150125101145.GA1906@c720-r276659>
References:  <20150125075122.GA1377@c720-r276659> <20150125101145.GA1906@c720-r276659>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <guru@unixarea.de> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FBA4BAED-9EE7-4EFA-8EA0-5D4FE9ED0590>