Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2021 18:11:38 +0100
From:      Thomas Vogt <thomas@bsdunix.ch>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>, Gerald Pfeifer <gerald@pfeifer.com>
Cc:        Li-Wen Hsu <lwhsu@freebsd.org>, michael@fuckner.net, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r540710 - head/sysutils/arcconf
Message-ID:  <9F1E8D36-EC64-47A6-A453-8442BC819D29@bsdunix.ch>
In-Reply-To: <20210203104306.GA8202@FreeBSD.org>
References:  <202006281346.05SDkfaS050010@repo.freebsd.org> <3c213f5-9fb6-c09c-e436-7d4d95619d46@pfeifer.com> <20210203104306.GA8202@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3 Feb 2021, at 11:43, Alexey Dokuchaev <danfe@FreeBSD.org> wrote:
>=20
> On Wed, Feb 03, 2021 at 10:05:19AM +0100, Gerald Pfeifer wrote:
>> On Sun, 28 Jun 2020, Li-Wen Hsu wrote:
>>> Log:
>>>  Robustness fix and license updates
>>>=20
>>>  - Update Makefile to use current version of GCC as defined in
>>>    bsd.default-versions.mk. (USE_GCC=3Dyes)
>> ...
>>> LIB_DEPENDS=3D	libstdc++.so.6:lang/gcc${GCC_DEFAULT}
>>> +USE_GCC=3D	yes
>>=20
>> This looks very (very) odd.
>>=20
>> USE_GCC already implies a run-time dependency on =
lang/gcc${GCC_DEFAULT}
>> and I do not recall seeing such a LIB_DEPENDS before.
>>=20
>> Are you sure this is really, really needed with USE_GCC=3Dyes?
>=20
> I believe, seeing NO_BUILD=3Dyes, it's because this is some sort of =
binary-
> only program which links against libstdc++.so.6.  I can't verify =
because
> the distfile is ~73MB and that's a bit too much for me to download =
ATM.

arcconf links to libstdc++.so.6. An ancient  libstdc++.so.6 version was =
provided with old freebsd versions (included with an old gcc).=20
The binary failed to run with:  ld-elf.so.1: /usr/lib/libstdc++.so.6: =
version GLIBCXX_3.4.11 required ..

Newer gcc versions from the port provided  libstdc++.so.6 with >=3D =
GLIBCXX_3.4.11.=20
Thats the reason why gcc was added. =20

Regards,
Tom




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9F1E8D36-EC64-47A6-A453-8442BC819D29>