Package: g++-4.1 Version: 4.1.1-5 Severity: important The g++ version that recently entered testing exhibits the same problem I had been reported to the hppa maintainers -- and which Randolph report upstream at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28620 .
I understand that it is fixed in unstable, but as the toolchain is frozen (or being frozen) I just want to make sure everyone is on the same page: the current 'testing' version of g++ will not cut it for release. The code below is from the current sources my rquantlib package which I intend to send to unstable later today. It does build on unstable but fails on testing showing that testing isn't quite there at the moment. Hope this helps, Dirk * Installing *source* package 'RQuantLib' ... checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking for quantlib-config... yes Building libRcpp.a in RcppSrc... g++ -I/usr/share/R/include -I/usr/share/R/include -DUSING_QUANTLIB -I/usr/include -fpic -g -O2 -c Rcpp.cpp -o Rcpp.o ar crs libRcpp.a Rcpp.o checking for Boost development files... yes checking Boost version... yes configure: creating ./config.status config.status: creating src/Makevars Completed configuration and ready to build. ** libs g++ -I/usr/share/R/include -I/usr/share/R/include -g -O2 -DUSING_QUANTLIB -I/usr/include -I../RcppSrc -fpic -g -O2 -c barrier_binary.cpp -o barrier_binary.o g++ -I/usr/share/R/include -I/usr/share/R/include -g -O2 -DUSING_QUANTLIB -I/usr/include -I../RcppSrc -fpic -g -O2 -c bermudan.cpp -o bermudan.o g++ -I/usr/share/R/include -I/usr/share/R/include -g -O2 -DUSING_QUANTLIB -I/usr/include -I../RcppSrc -fpic -g -O2 -c curves.cpp -o curves.o g++ -I/usr/share/R/include -I/usr/share/R/include -g -O2 -DUSING_QUANTLIB -I/usr/include -I../RcppSrc -fpic -g -O2 -c discount.cpp -o discount.o g++ -I/usr/share/R/include -I/usr/share/R/include -g -O2 -DUSING_QUANTLIB -I/usr/include -I../RcppSrc -fpic -g -O2 -c implieds.cpp -o implieds.o g++ -I/usr/share/R/include -I/usr/share/R/include -g -O2 -DUSING_QUANTLIB -I/usr/include -I../RcppSrc -fpic -g -O2 -c utils.cpp -o utils.o g++ -I/usr/share/R/include -I/usr/share/R/include -g -O2 -DUSING_QUANTLIB -I/usr/include -I../RcppSrc -fpic -g -O2 -c vanilla.cpp -o vanilla.o g++ -shared -o RQuantLib.so barrier_binary.o bermudan.o curves.o discount.o implieds.o utils.o vanilla.o -L../RcppSrc -lRcpp -L/usr/lib -lQuantLib-0.3.13 -L/usr/lib/R/lib -lR bermudan.o:(.data+0x0): multiple definition of `_ZN8QuantLib8McPricerIT_T0_E10minSample_E' barrier_binary.o:(.data+0x0): first defined here bermudan.o:(.data+0x4): multiple definition of `_ZN8QuantLib12McSimulationIT_T0_E10minSample_E' barrier_binary.o:(.data+0x4): first defined here curves.o:(.data+0x0): multiple definition of `_ZN8QuantLib8McPricerIT_T0_E10minSample_E' barrier_binary.o:(.data+0x0): first defined here curves.o:(.data+0x4): multiple definition of `_ZN8QuantLib12McSimulationIT_T0_E10minSample_E' barrier_binary.o:(.data+0x4): first defined here discount.o:(.data+0x0): multiple definition of `_ZN8QuantLib8McPricerIT_T0_E10minSample_E' barrier_binary.o:(.data+0x0): first defined here discount.o:(.data+0x4): multiple definition of `_ZN8QuantLib12McSimulationIT_T0_E10minSample_E' barrier_binary.o:(.data+0x4): first defined here implieds.o:(.data+0x0): multiple definition of `_ZN8QuantLib8McPricerIT_T0_E10minSample_E' barrier_binary.o:(.data+0x0): first defined here implieds.o:(.data+0x4): multiple definition of `_ZN8QuantLib12McSimulationIT_T0_E10minSample_E' barrier_binary.o:(.data+0x4): first defined here utils.o:(.data+0x0): multiple definition of `_ZN8QuantLib8McPricerIT_T0_E10minSample_E' barrier_binary.o:(.data+0x0): first defined here utils.o:(.data+0x4): multiple definition of `_ZN8QuantLib12McSimulationIT_T0_E10minSample_E' barrier_binary.o:(.data+0x4): first defined here vanilla.o:(.data+0x0): multiple definition of `_ZN8QuantLib8McPricerIT_T0_E10minSample_E' barrier_binary.o:(.data+0x0): first defined here vanilla.o:(.data+0x4): multiple definition of `_ZN8QuantLib12McSimulationIT_T0_E10minSample_E' barrier_binary.o:(.data+0x4): first defined here ../RcppSrc/libRcpp.a(Rcpp.o):(.data+0x0): multiple definition of `_ZN8QuantLib8McPricerIT_T0_E10minSample_E' barrier_binary.o:(.data+0x0): first defined here ../RcppSrc/libRcpp.a(Rcpp.o):(.data+0x4): multiple definition of `_ZN8QuantLib12McSimulationIT_T0_E10minSample_E' barrier_binary.o:(.data+0x4): first defined here collect2: ld returned 1 exit status make: *** [RQuantLib.so] Error 1 chmod: cannot access `/var/autofs/net/chibud/home/edd/src/progs/R/RQuantLib/RQuantLib.Rcheck/RQuantLib/libs/*': No such file or directory ERROR: compilation failed for package 'RQuantLib' ** Removing '/var/autofs/net/chibud/home/edd/src/progs/R/RQuantLib/RQuantLib.Rcheck/RQuantLib' -- System Information: Debian Release: testing/unstable APT prefers testing-proposed-updates APT policy: (500, 'testing-proposed-updates'), (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-k7-smp Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages g++-4.1 depends on: ii gcc-4.1 4.1.1-5 The GNU C compiler ii gcc-4.1-base 4.1.1-5 The GNU Compiler Collection (base ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libstdc++6-4.1-dev 4.1.1-5 The GNU Standard C++ Library v3 (d g++-4.1 recommends no packages. -- no debconf information -- Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]