pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/57998: gcc builds all delete libgcc_s.so*



The following reply was made to PR pkg/57998; it has been noted by GNATS.

From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: Joerg Sonnenberger <joerg%bec.de@localhost>
Subject: Re: pkg/57998: gcc builds all delete libgcc_s.so*
Date: Tue, 5 Mar 2024 10:26:20 +0000 (UTC)

 On Tue, 5 Mar 2024, Joerg Sonnenberger wrote:
 
 > You can set the always-libgcc option. It is not the default on most system
 > because GCC has a long history of introducing order sensitivity with
 > libgcc_s.so, e.g. where the system version is picked up in one situation and
 > the package one in other cases, which fails horribly if they are not 1:1 ABI
 > compatible. Given that the differences are also only visible under special
 > circumstances, it keeping libgcc_s.so generally creates more problems than
 > it solves.
 >
 
 I understood why the shared lib. was being deleted from reading
 the Makefiles, but, they should remove the file _only when_
 DELETE_INSTALLED_LIBGCC=yes, right? As the test currently stands,
 libgcc_s.so* is deleted unconditionally, which results in link
 failures for users who don't install the `comp' set, preferring to
 get their compiler from pkgsrc.
 
 Thx,
 
 -RVP
 



Home | Main Index | Thread Index | Old Index