On Mon, Jun 05, 2017 at 11:58:43AM -0400, Bryan Steele wrote:
> This will probably require library and ports bumps

I'm not sure where to go from here, bumping estdc++ should take
care of any ports using eg++, but there are still a few ports
using egcc for emulated TLS support.

What about the other shared libraries, gfortran, objc.. or other
bootstraps? The installed libssp is unused, and uses gets()..

This is something I wish someone else could help me with as I
don't normally do ports builds myself..

Not sure if this SQL query is correct.. at least some of these
may actually be missing an explict stdc++ wantlib? Qt5?

Halp?

-Bryan.

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/gcc/4.9/Makefile,v
retrieving revision 1.47
diff -u -p -u -r1.47 Makefile
--- Makefile    4 Mar 2017 21:59:55 -0000       1.47
+++ Makefile    6 Jun 2017 15:10:51 -0000
@@ -4,7 +4,7 @@ ONLY_FOR_ARCHS = amd64 arm hppa i386 mip
 DPB_PROPERTIES = parallel
 
 V = 4.9.4
-REVISION = 4
+REVISION = 5
 FULL_VERSION = $V
 FULL_PKGVERSION = $V
 
@@ -39,7 +39,7 @@ PKGNAME-objc =  gobjc-${FULL_PKGVERSION}
 PKGNAME-ada =   gnat-${FULL_PKGVERSION}
 PKGSPEC-main = gcc->=4.9,<4.10
 
-SHARED_LIBS =  estdc++         17.0 \
+SHARED_LIBS =  estdc++         18.0 \
                gfortran        6.0 \
                gcj             4.0 \
                gcj-tools       4.0 \
Index: patches/patch-gcc_config_i386_i386_c
===================================================================
RCS file: /cvs/ports/lang/gcc/4.9/patches/patch-gcc_config_i386_i386_c,v
retrieving revision 1.4
diff -u -p -u -r1.4 patch-gcc_config_i386_i386_c
--- patches/patch-gcc_config_i386_i386_c        1 Sep 2016 17:30:33 -0000       
1.4
+++ patches/patch-gcc_config_i386_i386_c        6 Jun 2017 15:10:51 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-gcc_config_i386_i386_c,v 1.4 2016/09/01 17:30:33 pascal Exp $
---- gcc/config/i386/i386.c.orig        Mon Aug  1 18:03:41 2016
-+++ gcc/config/i386/i386.c     Sat Aug  6 19:19:04 2016
+--- gcc/config/i386/i386.c.orig        Mon Aug  1 12:03:41 2016
++++ gcc/config/i386/i386.c     Sun Jun  4 04:30:01 2017
 @@ -2307,6 +2307,8 @@ struct ix86_frame
    HOST_WIDE_INT reg_save_offset;
    HOST_WIDE_INT sse_reg_save_offset;
@@ -18,13 +18,22 @@ $OpenBSD: patch-gcc_config_i386_i386_c,v
    frame->nregs = ix86_nsaved_regs ();
    frame->nsseregs = ix86_nsaved_sseregs ();
  
-@@ -10903,6 +10906,9 @@ ix86_expand_prologue (void)
-       m->fs.sp_offset = INCOMING_FRAME_SP_OFFSET;
+@@ -10904,6 +10907,9 @@ ix86_expand_prologue (void)
        m->fs.realigned = true;
      }
-+
+ 
 +  if (warn_stack_larger_than && frame.local_size > stack_larger_than_size)
 +    warning (OPT_Wstack_larger_than_, "stack usage is %ld bytes", 
frame.local_size);
- 
++
    int_registers_saved = (frame.nregs == 0);
    sse_registers_saved = (frame.nsseregs == 0);
+ 
+@@ -26860,7 +26866,7 @@ ix86_local_alignment (tree exp, enum machine_mode mode
+                  != TYPE_MAIN_VARIANT (va_list_type_node)))
+          && TYPE_SIZE (type)
+          && TREE_CODE (TYPE_SIZE (type)) == INTEGER_CST
+-         && (TREE_INT_CST_LOW (TYPE_SIZE (type)) >= 16
++         && (TREE_INT_CST_LOW (TYPE_SIZE (type)) >= 128
+              || TREE_INT_CST_HIGH (TYPE_SIZE (type))) && align < 128)
+       return 128;
+     }


SELECT FULLPKGPATH,MODULES,WANTLIB FROM Ports WHERE MODULES LIKE '%gcc4%' AND WA
NTLIB NOT LIKE '%CXX%' AND WANTLIB NOT LIKE '%stdc++%';

archivers/zstd|gcc4|c pthread z
astro/wcslib|gcc4 gnu|c cfitsio m gfortran>=3 quadmath
audio/audacious|devel/gettext gcc4 gnu|atk-1.0 c cairo cairo-gobject fontconfig 
freetype gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gtk-3 
guess m pango-1.0 pangocairo-1.0 pangoft2-1.0 pthread z intl>=5 iconv>=6
audio/jack|gcc4 gnu|c celt0>=1 db m pthread readline samplerate sndfile sndio 
termcap FLAC ogg vorbis vorbisenc
audio/sox|gcc4 gnu|c m z sndio FLAC gsm mad id3tag mp3lame ogg sndfile vorbis 
vorbisenc vorbisfile opencore-amrnb opencore-amrwb opus opusfile twolame 
wavpack iconv png
databases/mdbtools,-main|gcc4 devel/gettext x11/gnome gnu|c glib-2.0 iconv 
iodbcinst pthread readline
databases/mdbtools,-gmdb|gcc4 devel/gettext x11/gnome gnu|intl>=5 iconv>=6 c 
gdk-x11-2.0 gdk_pixbuf-2.0 glade-2.0 glib-2.0 gnome-2 gnomeui-2 gobject-2.0 
gtk-x11-2.0 mdb mdbsql pango-1.0 pthread
databases/postgresql,-pg_upgrade|lang/python gcc4 gnu|c crypto m readline ssl 
termcap z xml2 pq>=4
databases/postgresql,-plpython|lang/python gcc4 gnu|c m pthread util  python2.7
databases/postgresql,-contrib|lang/python gcc4 gnu|c crypto m readline ssl 
termcap z xml2 pq>=4
databases/postgresql,-server|lang/python gcc4 gnu|c crypto m readline ssl 
termcap z xml2 perl pq>=4
databases/postgresql,-main|lang/python gcc4 gnu|c crypto m readline ssl termcap 
z xml2
databases/postgresql-previous|lang/python gcc4 gnu|c crypto m readline ssl 
termcap z xml2 perl util
devel/libgit2/libgit2|devel/cmake  lang/python  gcc4|crypto curl pthread ssh2 
ssl z
devel/liburcu|gcc4 gnu|pthread
devel/libuv|gcc4 gnu|pthread
devel/llvm,-python|devel/cmake  lang/python  gcc4|clang
devel/py-gobject3,-main|lang/python  x11/gnome gcc4 gnu textproc/intltool|X11 
Xext Xrender cairo cairo-gobject expat ffi fontconfig freetype gio-2.0 
girepository-1.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 iconv intl m pcre 
pixman-1 png pthread pthread-stubs xcb xcb-render xcb-shm z
devel/py-gobject3,python3,-main|lang/python  x11/gnome gcc4 gnu 
textproc/intltool|X11 Xext Xrender cairo cairo-gobject expat ffi fontconfig 
freetype gio-2.0 girepository-1.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 
iconv intl m pcre pixman-1 png pthread pthread-stubs xcb xcb-render xcb-shm z
emulators/mgba,-libretro|devel/cmake x11/qt5 gcc4|m pthread
emulators/mgba,-main|devel/cmake x11/qt5 gcc4|GL GLU MagickCore-6.Q16 
MagickWand-6.Q16 SDL2  avcodec avformat avresample avutil c edit m png  pthread 
swscale termcap z zip epoxy
emulators/xroar|gnu gcc4|GL GLU ICE SDL2 SM X11 Xcomposite Xcursor Xdamage Xext 
Xfixes Xi Xinerama Xmu Xt Xrandr Xrender atk-1.0 c cairo fontconfig freetype 
gdk-x11-2.0 gdkglext-x11-1.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 
gobject-2.0 gtk-x11-2.0 gtkglext-x11-1.0 intl m pango-1.0 pangocairo-1.0 
pangoft2-1.0 pangox-1.0 pthread sndfile z
games/tome4,-main|gcc4|GL GLU SDL2 SDL2_image SDL2_ttf openal c m  png pthread 
vorbisfile
graphics/libgxps|x11/gnome gnu gcc4 textproc/intltool|X11 Xext Xrender archive 
bz2 c cairo crypto expat ffi fontconfig freetype gio-2.0 glib-2.0 gmodule-2.0 
gobject-2.0 iconv intl jpeg lcms2 lz4 lzma lzo2 m pcre pixman-1 png pthread 
pthread-stubs tiff xcb xcb-render xcb-shm z
lang/guile2|gnu gcc4|c ffi gc gmp iconv intl ltdl m ncurses pthread readline 
unistring
lang/luajit|lang/lua gcc4|c m
lang/php/5.5,-bz2|gcc4 gnu|bz2>=10 pthread
lang/php/5.5,-odbc|gcc4 gnu|iodbc>=2 pthread iodbcinst
lang/php/5.5,-mysql|gcc4 gnu|pthread lib/mysql/mysqlclient
lang/php/5.5,-intl|gcc4 gnu|icudata icui18n icuio icuuc pthread
lang/php/5.5,-pdo_pgsql|gcc4 gnu|pq>=2 pthread
lang/php/5.5,-mssql|gcc4 gnu|sybdb>=6 pthread
lang/php/5.5,-mcrypt|gcc4 gnu|mcrypt ltdl>=1 pthread
lang/php/5.5,-pcntl|gcc4 gnu|pthread
lang/php/5.5,-pspell|gcc4 gnu|aspell>=16 pspell>=16 pthread
lang/php/5.5,-imap|gcc4 gnu|pthread crypto ssl c-client>=5
lang/php/5.5,-xmlrpc|gcc4 gnu|iconv m z xml2>=8 pthread lzma
lang/php/5.5,-snmp|gcc4 gnu|crypto m netsnmp>=6.2 pthread
lang/php/5.5,-sybase_ct|gcc4 gnu|ct pthread
lang/php/5.5,-soap|gcc4 gnu|iconv m pthread z xml2>=8 lzma
lang/php/5.5,-dba|gcc4 gnu|gdbm>=2 pthread
lang/php/5.5,-mysqli|gcc4 gnu|crypto m pthread ssl z lib/mysql/mysqlclient
lang/php/5.5,-gd|gcc4 gnu|t1>=5 z jpeg>=62 png>=3 pthread X11 Xpm freetype
lang/php/5.5,-xsl|gcc4 gnu|iconv m xml2 z xslt>=3 exslt pthread lzma
lang/php/5.5,-tidy|gcc4 gnu|tidyp pthread
lang/php/5.5,-pdo_mysql|gcc4 gnu|crypto m pthread ssl z lib/mysql/mysqlclient
lang/php/5.5,-pgsql|gcc4 gnu|pq>=2 pthread
lang/php/5.5,-ldap|gcc4 gnu|pthread ldap>=2 lber
lang/php/5.5,-curl|gcc4 gnu|pthread crypto nghttp2 ssl z curl>=2
lang/php/5.5,-pdo_dblib|gcc4 gnu|sybdb>=6 pthread
lang/php/5.5,-zip|gcc4 gnu|z pthread
lang/php/5.5,-gmp|gcc4 gnu|gmp>=4 pthread
lang/php/5.5,-shmop|gcc4 gnu|pthread
lang/php/5.6,-zip|gcc4 gnu|z pthread
lang/php/5.6,-ldap|gcc4 gnu|pthread ldap>=2 lber
lang/php/5.6,-pgsql|gcc4 gnu|pq>=2 pthread
lang/php/5.6,-xsl|gcc4 gnu|iconv m xml2 z xslt>=3 exslt pthread lzma
lang/php/5.6,-pspell|gcc4 gnu|aspell>=16 pspell>=16 pthread
lang/php/5.6,-gmp|gcc4 gnu|gmp>=4 pthread
lang/php/5.6,-soap|gcc4 gnu|iconv m pthread z xml2>=8 lzma
lang/php/5.6,-intl|gcc4 gnu|icudata icui18n icuio icuuc pthread
lang/php/5.6,-odbc|gcc4 gnu|iodbc>=2 pthread iodbcinst
lang/php/5.6,-pdo_dblib|gcc4 gnu|sybdb>=6 pthread
lang/php/5.6,-xmlrpc|gcc4 gnu|iconv m z xml2>=8 pthread lzma
lang/php/5.6,-pdo_mysql|gcc4 gnu|crypto m pthread ssl z lib/mysql/mysqlclient
lang/php/5.6,-dba|gcc4 gnu|gdbm>=2 pthread
lang/php/5.6,-mssql|gcc4 gnu|sybdb>=6 pthread
lang/php/5.6,-gd|gcc4 gnu|t1>=5 z jpeg>=62 png>=3 pthread X11 Xpm freetype
lang/php/5.6,-tidy|gcc4 gnu|tidyp pthread
lang/php/5.6,-mysql|gcc4 gnu|pthread lib/mysql/mysqlclient
lang/php/5.6,-pcntl|gcc4 gnu|pthread
lang/php/5.6,-bz2|gcc4 gnu|bz2>=10 pthread
lang/php/5.6,-curl|gcc4 gnu|pthread crypto nghttp2 ssl z curl>=2
lang/php/5.6,-pdo_pgsql|gcc4 gnu|pq>=2 pthread
lang/php/5.6,-sybase_ct|gcc4 gnu|ct pthread
lang/php/5.6,-mysqli|gcc4 gnu|crypto m pthread ssl z lib/mysql/mysqlclient
lang/php/5.6,-mcrypt|gcc4 gnu|mcrypt ltdl>=1 pthread
lang/php/5.6,-imap|gcc4 gnu|pthread crypto ssl c-client>=5
lang/php/5.6,-snmp|gcc4 gnu|crypto m netsnmp>=6.2 pthread
lang/php/5.6,-shmop|gcc4 gnu|pthread
lang/php/7.0,-intl|gcc4 gnu|icudata icui18n icuio icuuc pthread
lang/php/7.0,-dba|gcc4 gnu|gdbm>=2 pthread
lang/php/7.0,-shmop|gcc4 gnu|pthread
lang/php/7.0,-xmlrpc|gcc4 gnu|iconv m z xml2>=8 pthread lzma
lang/php/7.0,-pspell|gcc4 gnu|aspell>=16 pspell>=16 pthread
lang/php/7.0,-mcrypt|gcc4 gnu|mcrypt ltdl>=1 pthread
lang/php/7.0,-snmp|gcc4 gnu|crypto m netsnmp>=6.2 pthread
lang/php/7.0,-odbc|gcc4 gnu|iodbc>=2 pthread iodbcinst
lang/php/7.0,-gd|gcc4 gnu|z jpeg>=62 png>=3 pthread X11 Xpm freetype
lang/php/7.0,-xsl|gcc4 gnu|iconv m xml2 z xslt>=3 exslt pthread lzma
lang/php/7.0,-curl|gcc4 gnu|pthread crypto nghttp2 ssl z curl>=2
lang/php/7.0,-gmp|gcc4 gnu|gmp>=4 pthread
lang/php/7.0,-tidy|gcc4 gnu|tidyp pthread
lang/php/7.0,-bz2|gcc4 gnu|bz2>=10 pthread
lang/php/7.0,-pdo_pgsql|gcc4 gnu|pq>=2 pthread
lang/php/7.0,-pgsql|gcc4 gnu|pq>=2 pthread
lang/php/7.0,-zip|gcc4 gnu|z pthread
lang/php/7.0,-pdo_mysql|gcc4 gnu|crypto m pthread ssl z lib/mysql/mysqlclient
lang/php/7.0,-ldap|gcc4 gnu|pthread ldap>=2 lber
lang/php/7.0,-imap|gcc4 gnu|pthread crypto ssl c-client>=5
lang/php/7.0,-mysqli|gcc4 gnu|crypto m pthread ssl z lib/mysql/mysqlclient
lang/php/7.0,-pcntl|gcc4 gnu|pthread
lang/php/7.0,-soap|gcc4 gnu|iconv m pthread z xml2>=8 lzma
lang/php/7.0,-pdo_dblib|gcc4 gnu|sybdb>=6 pthread
lang/pypy|lang/python lang/tcl x11/tk gcc4 lang/tcl|bz2 c crypto curses expat 
ffi gdbm iconv intl m ncurses panel pthread sqlite3 ssl tcl85 tk85 util z
lang/racket-minimal|gnu gcc4|c ffi iconv m pthread sqlite3
lang/racket-minimal,no_jit|gnu gcc4|c ffi iconv m pthread sqlite3
lang/sbcl|gcc4|c m util
lang/sbcl,threads|gcc4|c m util pthread
lang/swi-prolog|gcc4 gnu|ICE SM X11 Xext Xft Xinerama Xpm Xt c crypto execinfo 
fontconfig freetype gmp jpeg m ncursesw pthread readline ssl z
mail/rmilter|devel/cmake  gcc4|c crypto glib-2.0 intl m milter opendkim pcre 
pthread ssl
math/R|fortran  x11/tk gnu gcc4 lang/tcl|tk85 tcl85 ICE SM X11 Xext Xmu Xss Xt 
bz2 c cairo crypto curl glib-2.0 gobject-2.0 iconv icui18n icuuc intl jpeg lzma 
m ncurses nghttp2 pango-1.0 pangocairo-1.0 pcre png readline ssl tiff z 
gfortran>=3 quadmath
misc/zzuf|gcc4 gnu|c m
net/freeradius3,-memcached|lang/python gnu gcc4|memcached pthread
net/freeradius3,-ldap|lang/python gnu gcc4|ldap
net/freeradius3,-pgsql|lang/python gnu gcc4|pq
net/freeradius3,-iodbc|lang/python gnu gcc4|iodbc>=2
net/freeradius3,-main|lang/python gnu gcc4|c crypto curl execinfo gdbm hiredis 
json-c m nghttp2 pcap pcre perl pthread readline sqlite3 ssl talloc termcap 
ykclient yubikey z
net/freeradius3,-freetds|lang/python gnu gcc4|ct
net/freeradius3,-python|lang/python gnu gcc4|python2.7 m pthread util
net/freeradius3,-mysql|lang/python gnu gcc4|crypto ssl m pthread z mysqlclient_r
net/gdnsd|gnu gcc4|c ev m pthread
net/haproxy|gcc4|c crypto pcre pcreposix ssl
net/knot|gnu gcc4|c curses edit ffi gmp gnutls hogweed iconv idn idn2 intl 
jansson m nettle p11-kit pthread tasn1 unistring urcu urcu-common z
net/transmission,-gtk|textproc/intltool devel/qmake x11/qt5 gnu gcc4|c crypto 
curl event_core event_extra m miniupnpc>=2.0  natpmp pthread ssl z intl ICE SM 
X11 Xcomposite Xcursor Xdamage  Xext Xfixes Xi Xinerama Xrandr Xrender  atk-1.0 
atk-bridge-2.0 atspi cairo cairo-gobject  dbus-1 expat ffi fontconfig freetype  
gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0  gobject-2.0 graphite2 
gthread-2.0 gtk-3  harfbuzz pango-1.0 pangoft2-1.0  pangocairo-1.0 pixman-1 png 
pcre pthread-stubs xcb  xcb-render xcb-shm epoxy nghttp2 iconv
net/transmission,-main|textproc/intltool devel/qmake x11/qt5 gnu gcc4|c crypto 
curl event_core event_extra m miniupnpc>=2.0  natpmp pthread ssl z intl nghttp2 
iconv
net/wireshark,-text|lang/lua  lang/python  x11/qt5 devel/cmake gcc4|c glib-2.0 
m pcap z lua5.2 GeoIP cares gcrypt gmodule-2.0 gnutls gpg-error smi ssh
net/wireshark,-gtk|lang/lua  lang/python  x11/qt5 devel/cmake gcc4|c glib-2.0 m 
pcap z wireshark wiretap wscodecs wsutil cairo gdk_pixbuf-2.0 gdk-3 gio-2.0 
gobject-2.0 gtk-3 pango-1.0 pangocairo-1.0 portaudio 
textproc/the_silver_searcher|gnu gcc4|c lzma pcre pthread z
textproc/zathura/core|gcc4|atk-1.0 c cairo cairo-gobject gdk-3 gdk_pixbuf-2.0 
gio-2.0 girara-gtk3 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 gtk-3 intl m 
magic pango-1.0 pangocairo-1.0 pthread sqlite3
textproc/zathura/plugins/poppler|gcc4|cairo gio-2.0 girara-gtk3 glib-2.0 
gobject-2.0 intl poppler-glib
textproc/zathura/plugins/mupdf|gcc4|atk-1.0 cairo cairo-gobject crypto gdk-3 
gdk_pixbuf-2.0 gio-2.0 girara-gtk3 glib-2.0 gobject-2.0 gtk-3 intl jbig2dec 
jpeg mupdf openjp2 pango-1.0 pangocairo-1.0 freetype harfbuzz z
textproc/zathura/plugins/ps|gcc4|cairo girara-gtk3 glib-2.0 intl spectre
textproc/zathura/plugins/djvu|gcc4|cairo djvulibre girara-gtk3 glib-2.0 intl
textproc/zathura/plugins/cb|gcc4|archive cairo cairo-gobject gdk-3 
gdk_pixbuf-2.0 gio-2.0 girara-gtk3 glib-2.0 gobject-2.0 intl pango-1.0 
pangocairo-1.0
www/kore|gcc4|c crypto pthread ssl
www/kore,pgsql|gcc4|c crypto pthread ssl pq
www/sope,-mysql|x11/gnustep lang/clang gcc4|GDLAccess mysqlclient crypto ssl z  
objc2 m gnustep-base pthread
www/sope,-main|x11/gnustep lang/clang gcc4|c crypto ssl iconv lber ldap lzma 
xml2 z  objc2 m gnustep-base pthread
www/sope,-postgres|x11/gnustep lang/clang gcc4|GDLAccess EOControl pq objc2 m 
gnustep-base pthread
x11/girara|gcc4|atk-1.0 cairo cairo-gobject gdk-3 gdk_pixbuf-2.0 gio-2.0 
glib-2.0 gobject-2.0 gtk-3 intl json-c m notify pango-1.0 pangocairo-1.0
x11/gnome/aisleriot|devel/dconf  devel/gconf2  x11/gnome gnu gcc4 
textproc/intltool|ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama 
Xrandr Xrender atk-1.0 atk-bridge-2.0 atspi c cairo cairo-gobject canberra 
canberra-gtk3 croco-0.6 dbus-1 dbus-glib-1 epoxy expat ffi fontconfig freetype 
gc gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gmp gobject-2.0 graphite2 
gthread-2.0 gtk-3 guile-2.2 harfbuzz iconv intl ltdl lzma m ogg pango-1.0 
pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs rsvg-2 
unistring vorbis vorbisfile xcb xcb-render xcb-shm xml2 z gconf-2
x11/lemonbar|gcc4|c xcb xcb-randr xcb-xinerama
x11/qt5/qtserialbus,-main|devel/qmake x11/qt5 gcc4|Qt5Core Qt5Network 
Qt5SerialPort c m pthread
x11/vlc,-jack|devel/gettext  x11/qt4 gnu lang/clang gcc4|db jack vlccore c 
dbus-1 idn m pthread intl>=5 iconv>=6

Reply via email to