On Sat, 8 Jun 2013 22:20:44 +0200, Juan Francisco Cantero Hurtado wrote:
> On Sat, Jun 08, 2013 at 08:44:15PM +0200, Pascal Stumpf wrote:
> > On Sat, 8 Jun 2013 14:51:45 +0100, Stuart Henderson wrote:
> > > (req'd by pascal; cc'ing ports@ in case of interest interest).
> > > 
> > > Here are results from a bulk with MODGCC4_VERSION?=4.8 (this is with
> > > 4.8.0, I didn't have 4.8.1 when it started).
> > > 
> > > math/galculator:
> > > picked up libquadmath at build time, failed when dpb junked it.
> > > I didn't spot any other instances of this in the tree.
> > > 
> > > www/mozilla-firefox:
> > > www/seamonkey:
> > >      c++: error: unrecognized command line option '-rdynamic'
> > 
> > Does this happen during link time?  egcc -dumpspecs suggests that
> > rdynamic is correctly translated to -export-dynamic.
> 
> I had the same problem with racket and gcc 4.7 tree months ago.
> 
> https://github.com/plt/racket/commit/292c81a826f9ebba435f464fce375bd51a118355
> 

D'oh, now I see the problem; diff for 4.8:


Index: Makefile
===================================================================
RCS file: /home/pascal/cvs/ports/lang/gcc/4.8/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile    7 Jun 2013 07:55:22 -0000       1.5
+++ Makefile    8 Jun 2013 20:45:28 -0000
@@ -27,6 +27,13 @@ PKGNAME-ada =   gnat-${FULL_PKGVERSION}
 #PKGNAME-go =  gccgo-${FULL_PKGVERSION}
 PKGSPEC-main = gcc->=4.8,<4.9
 
+REVISION-main =        0
+REVISION-c++ = 0
+REVISION-java =        0
+REVISION-f95 = 0
+REVISION-objc =        0
+REVISION-ada = 0
+
 SHARED_LIBS =  estdc++         16.0 \
                gfortran        5.0 \
                gcj             3.0 \
Index: patches/patch-gcc_config_openbsd_opt
===================================================================
RCS file: patches/patch-gcc_config_openbsd_opt
diff -N patches/patch-gcc_config_openbsd_opt
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-gcc_config_openbsd_opt        8 Jun 2013 20:50:00 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- gcc/config/openbsd.opt.orig        Sat Jun  8 22:49:21 2013
++++ gcc/config/openbsd.opt     Sat Jun  8 22:49:33 2013
+@@ -32,4 +32,7 @@ Driver
+ pthread
+ Driver
+ 
++rdynamic
++Driver
++
+ ; This comment is to ensure we retain the blank line above.

Reply via email to