pkgsrc-Users archive

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

gcc10 with libstdc++.so.9 (Re: gcc 8 related (Re: (gnuradio-core) libstdc++.so.9 conflicts with libstdc++.so.7



May be kind of silly or well-known results, but

cd pkgsrc
rsync -avH --exclude CVS lang/gcc10/ wip/gcc10/

cd wip/gcc10

apply attached diff

sudo pkg_delete -r gcc10
make clean
make package-install
cd ../../ham/gnuradio-core/
make clean
make package


will packge gnuradio-core successfull :-)

-- 
Makoto Fujiwara
mef%NetBSD.org@localhost
makoto%if.t.u-tokyo.ac.jp@localhost
Key fingerprint = 0BFA FAEB EAD1 90BA 7498  8F85 6809 9E0B B7EF A12E
----
pkgsrc freshness:
http://www.ki.nu/~makoto/pkgsrc/check-update/00_Summary.html


diff -ur ../../lang/gcc10/Makefile ./Makefile
--- ../../lang/gcc10/Makefile	2022-07-04 15:54:55.941922925 +0900
+++ ./Makefile	2022-11-22 20:22:19.227649132 +0900
@@ -92,8 +92,8 @@
 SUBST_CLASSES+=		libstdc
 SUBST_STAGE.libstdc=	pre-configure
 SUBST_FILES.libstdc=	libstdc++-v3/configure
-SUBST_MESSAGE.libstdc=	Bumping libstdc++ major to 7
-SUBST_SED.libstdc=	-e 's,libtool_VERSION=6:,libtool_VERSION=7:,g'
+SUBST_MESSAGE.libstdc=	Bumping libstdc++ major to 9
+SUBST_SED.libstdc=	-e 's,libtool_VERSION=6:,libtool_VERSION=9:,g'
 .else
 CONFIGURE_ARGS+=	--enable-libssp
 .endif



 1235  sudo pkg_delete gcc-10
 1236  make package
 1237  make package-install
 1238  sudo pkg_delete gcc10
 1239  sudo pkg_delete -r gcc10
 1240  make package-install
 1241  pkg_info -qL gcc10 |grep libstdc
 1242  cd ../../ham/gnuradio-core/
 1243  make clean
 1244  make package
 1245  pushd ../../wip/gcc10
 1246  diff -ur ../../lang/gcc10/
 1247  diff -ur ../../lang/gcc10/ ./
 1248  diff -ur ../../lang/gcc10/ ./> /tmp/diff
 1249  diff -ur ../../lang/gcc10/ ./ >!  /tmp/diff


Home | Main Index | Thread Index | Old Index