[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-emulation
Subject: Re: ports/182468: [patch] lang/gcc builds unrunnable emulators/virtualbox-ose
From: Peter Jeremy <peter () rulingia ! com>
Date: 2013-11-21 19:10:01
Message-ID: 201311211910.rALJA1gU048672 () freefall ! freebsd ! org
[Download RAW message or body]
The following reply was made to PR ports/182468; it has been noted by GNATS.
From: Peter Jeremy <peter@rulingia.com>
To: Eitan Adler <lists@eitanadler.com>
Cc: Bernhard =?iso-8859-1?Q?Fröhlich?= <decke@bluelife.at>,
bug-followup <bug-followup@freebsd.org>, vbox@freebsd.org
Subject: Re: ports/182468: [patch] lang/gcc builds unrunnable
emulators/virtualbox-ose
Date: Fri, 22 Nov 2013 06:01:34 +1100
--82I3+IH0IqGh5yIs
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2013-Nov-17 16:32:46 -0500, Eitan Adler <lists@eitanadler.com> wrote:
>On Wed, Nov 13, 2013 at 7:40 AM, Bernhard Fröhlich <decke@bluelife.at> w rote:
>> I think the idea and approach is correct but I went for a slighly more
>> conservative
>> approach if _GCC_RUNTIME was not set which is true in case base gcc is used=
>
>This can not possibly be correct as the variable begins with a "_".
>The initial proposed patch is also incorrect for a similar reason.
>_GCC_RUNTIME is not valid for use in a ports Makefile.
I completely agree. As I initially stated, this is solely a work-
around for a bug in lang/gcc*. In fact the existing use of
_GCC_RUNTIME in bsd.gcc.mk is equally wrong and is also just a work-
around for lang/gcc* bugs.
>Perhaps it would help if USE_GCC or USES=compiler exposed a variable
>indicating the runtime?
This is not correct either. A port using lang/gcc should not need to
know about the compiler internals. If code compiled with gcc46 needs
to be linked against non-standard libraries then using gcc46 for
linking should be sufficient - it shouldn't be necessary to add
magic "-Wl,-rpath=..." options.
(IMO, the whole -L/-rpath approach is broken: The runtime searchpath
should default to the linktime searchpath. Unfortunately, fixing that
isn't possible).
--
Peter Jeremy
--82I3+IH0IqGh5yIs
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)
iKYEARECAGYFAlKOWI1fFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldDBCRjc3QTcyNTg5NEVCRTY0RjREN0VFRUZF
OEE0N0JGRjAwRkI4ODcACgkQ/opHv/APuIcR4QCguG7m2cfWIDQ7Rihzecsp53yQ
J60An1ZMVu/0W52xOuKz6COp96SYAyfs
IpK
-----END PGP SIGNATURE-----
--82I3+IH0IqGh5yIs--
_______________________________________________
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic