Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2002 06:41:33 +0200 (CEST)
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Oliver Lehmann <lehmann@ans-netz.de>, pmarquis@pobox.com
Subject:   ports/39826: update-port: devel/stlport (compile BROKEN on latest 4-STABLE)
Message-ID:  <200206250441.g5P4fXQ1007817@kartoffel.salatschuessel.net>

next in thread | raw e-mail | index | archive | help

>Number:         39826
>Category:       ports
>Synopsis:       update-port: devel/stlport (compile BROKEN on latest 4-STABLE)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 24 21:50:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Lehmann
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD kartoffel.salatschuessel.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jun 23 01:30:04 CEST 2002 olivleh1@nudel.salatschuessel.net:/usr/obj/i386/usr/src/sys/KARTOFFEL i386


>Description:
	stlport fails to compile on my 22th June STABLE

c++ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O -I../../stlport -I.  -DEH_VECTOR_OPERATOR_NEW nc_alloc.cpp -c -o obj/nc_alloc.o
nc_alloc.cpp: In function `void * operator new(unsigned int)':
nc_alloc.cpp:229: declaration of `operator new(unsigned int)' throws different exceptions
/usr/include/g++/g++/new:28: previous declaration here
nc_alloc.cpp: In function `void operator delete(void *)':
nc_alloc.cpp:278: declaration of `operator delete(void *)' throws different exceptions
/usr/include/g++/g++/new:30: previous declaration here
gmake: *** [obj/nc_alloc.o] Error 1
*** Error code 2

Stop in /usr/ports/devel/stlport.
root@kartoffel stlport> 

>How-To-Repeat:
	update to latest stable
	cd /usr/ports/devel/stlport && make
>Fix:


diff -ruN stlport.old/files/patch-test::eh::gcc-freebsd.mak /usr/ports/devel/stlport/files/patch-test::eh::gcc-freebsd.mak
--- stlport.old/files/patch-test::eh::gcc-freebsd.mak	Tue Jun 25 06:36:29 2002
+++ /usr/ports/devel/stlport/files/patch-test::eh::gcc-freebsd.mak	Tue Jun 25 06:37:04 2002
@@ -1,5 +1,5 @@
 --- test/eh/gcc-freebsd.mak.orig	Sat May 26 05:06:16 2001
-+++ test/eh/gcc-freebsd.mak	Fri Jun  7 11:25:25 2002
++++ test/eh/gcc-freebsd.mak	Tue Jun 25 06:35:47 2002
 @@ -34,20 +34,17 @@
  D_TEST = ./eh_test_d.out
  NOSGI_TEST = ./eh_test_nosgi.out
@@ -11,7 +11,7 @@
  # also, test_slist won't compile with -O3/-O2 when targeting PPC. It fails 
  # in the assembler with 'invalid relocation type'
 -CXXFLAGS = -Wall -g -O ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -DEH_VECTOR_OPERATOR_NEW
-+CXXFLAGS= $(PTHREAD_CFLAGS) -D_REENTRANT -Wall -g -O ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -DEH_VECTOR_OPERATOR_NEW
++CXXFLAGS= $(PTHREAD_CFLAGS) -D_REENTRANT -Wall -g -O ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -DEH_VECTOR_OPERATOR_NEW  -DEH_DELETE_HAS_THROW_SPEC
  
 -D_CXXFLAGS = -Wall -g -O ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -DEH_VECTOR_OPERATOR_NEW -D_STLP_DEBUG -D_STLP_USE_STATIC_LIB
 -NOSGI_CXXFLAGS = -Wall -g -O2 ${STL_INCL} -I. ${CXX_EXTRA_FLAGS} -D_STLP_NO_OWN_IOSTREAMS -D_STLP_DEBUG_UNINITIALIZED -DEH_VECTOR_OPERATOR_NEW

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206250441.g5P4fXQ1007817>