Hi all, I'm using SUSE 9.2 AMD64, and have downloaded the latest gcc and am about to bootstrap. Is there anyone who can help me with configuration, bootstrap, test and install? I've run into problems with the testsuite and I don't know whether I have done something wrong or am seeing a bug. I also don't know if what I see is specific to SUSE AMD64, or specific to the current state of my PC. First question: Is there anything wrong with the parameters I am giving to configure? (see below) Best regards My current gcc: leopardi@linfinit:~/src/gcc/gcc-4.0.1-obj> gcc -v Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib64 --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux Thread model: posix gcc version 3.3.4 (pre 3.3.5 20040809) I've run configure in the directory ~/src/gcc/gcc-4.0.1-obj as leopardi@linfinit:~/src/gcc/gcc-4.0.1-obj> ../gcc-4.0.1/configure --prefix=/usr/local/gcc/gcc-4.0.1 --enable-threads=posix --disable-libgcj --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-languages=c,c++ x86_64-suse-linux This looks like it worked, but gave the warning: configure: warning: x86_64-suse-linux: invalid host type
Paul C. Leopardi wrote:
Hi all, I'm using SUSE 9.2 AMD64, and have downloaded the latest gcc and am about to bootstrap. Is there anyone who can help me with configuration, bootstrap, test and install? I've run into problems with the testsuite and I don't know whether I have done something wrong or am seeing a bug. I also don't know if what I see is specific to SUSE AMD64, or specific to the current state of my PC.
First question: Is there anything wrong with the parameters I am giving to configure? (see below) Best regards
My current gcc:
leopardi@linfinit:~/src/gcc/gcc-4.0.1-obj> gcc -v Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib64 --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux Thread model: posix gcc version 3.3.4 (pre 3.3.5 20040809)
I've run configure in the directory ~/src/gcc/gcc-4.0.1-obj as
leopardi@linfinit:~/src/gcc/gcc-4.0.1-obj> ../gcc-4.0.1/configure --prefix=/usr/local/gcc/gcc-4.0.1 --enable-threads=posix --disable-libgcj --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-languages=c,c++ x86_64-suse-linux
This looks like it worked, but gave the warning:
configure: warning: x86_64-suse-linux: invalid host type
Try not to include "x86_64-suse-linux" in configure, the script configure will pick up the right machine type. Jyh-Shyong Ho
"Paul C. Leopardi"
Hi all, I'm using SUSE 9.2 AMD64, and have downloaded the latest gcc and am about to bootstrap. Is there anyone who can help me with configuration, bootstrap, test and install? I've run into problems with the testsuite and I don't know whether I have done something wrong or am seeing a bug. I also don't know if what I see is specific to SUSE AMD64, or specific to the current state of my PC.
We've prebuild RPMs at ftp.suse.com/pub/projects/GCC/...
First question: Is there anything wrong with the parameters I am giving to configure? (see below) Best regards
My current gcc:
leopardi@linfinit:~/src/gcc/gcc-4.0.1-obj> gcc -v Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib64 --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux Thread model: posix gcc version 3.3.4 (pre 3.3.5 20040809)
I've run configure in the directory ~/src/gcc/gcc-4.0.1-obj as
leopardi@linfinit:~/src/gcc/gcc-4.0.1-obj> ../gcc-4.0.1/configure --prefix=/usr/local/gcc/gcc-4.0.1 --enable-threads=posix --disable-libgcj --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-languages=c,c++ x86_64-suse-linux
This looks like it worked, but gave the warning:
configure: warning: x86_64-suse-linux: invalid host type
You can ignore the warning, it's really not a critical - I get it every day ;-) Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
On Thursday 21 July 2005 09:53, Andreas Jaeger wrote:
We've prebuild RPMs at ftp.suse.com/pub/projects/GCC/...
I installed them without any errors. I can compile but when i try to execute it it says error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory What can i do? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Karaoulis Marios
On Thursday 21 July 2005 09:53, Andreas Jaeger wrote:
We've prebuild RPMs at ftp.suse.com/pub/projects/GCC/...
I installed them without any errors. I can compile but when i try to execute it it says error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
What can i do?
You might need to run ldconfig, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
I installed them without any errors. I can compile but when i try to execute it it says error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
What can i do?
I also installed the RPMs but I use gcc 4.x only occasionally. When I run the executables I set LD_LIBRARY_PATH to the directory where the libstdc++.so.6 file is located and everything works fine then. -m
On Friday 22 July 2005 11:11, Marcin Zalewski wrote:
I also installed the RPMs but I use gcc 4.x only occasionally. When I run the executables I set LD_LIBRARY_PATH to the directory where the libstdc++.so.6 file is located and everything works fine then.
Thanks that did worked. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Andreas and all, thanks for your kind advaice. Reply below. Best regards, Paul Leopardi On Thu, 21 Jul 2005 04:53 pm, Andreas Jaeger wrote:
You can ignore the warning, it's really not a critical - I get it every day ;-)
I ran make bootstrap It which looks (to me) like it worked. I then ran make -k check The output for gcc looks OK, but the output for g++ shows huge numbers of errors. ... === gcc Summary === # of expected passes 34550 # of unexpected successes 1 # of expected failures 105 # of untested testcases 28 # of unsupported tests 433 /home/leopardi/src/gcc/gcc-4.0.1-obj/gcc/xgcc version 4.0.1 make[1]: [check-gcc] Error 1 (ignored) (rootme=`${PWDCMD-pwd}`; export rootme; \ srcdir=`cd ../../gcc-4.0.1/gcc; ${PWDCMD-pwd}` ; export srcdir ; \ cd testsuite; \ EXPECT=expect ; export EXPECT ; \ if [ -f ${rootme}/../expect/expect ] ; then \ TCL_LIBRARY=`cd .. ; cd ../../gcc-4.0.1/gcc/../tcl/library ; ${PWDCMD-pwd}` ; \ export TCL_LIBRARY ; fi ; \ runtest --tool g++ ) ... Note "--tool g++". Where does runtest find g++ ? I ran "ps f" while the test was running and obtained the following result. (With lines cut off by line length). 10252 pts/5 S 0:00 \_ make -k check 10297 pts/5 S 0:00 | \_ /bin/sh -c r=`${PWDCMD-pwd}`; export r; s=`cd ../gcc-4.0.1; ${PWDCMD-pwd}`; export s; LD_LIBRARY_PATH=/home/leopardi/src/gcc/gcc-4.0.1-obj/gcc:/usr/lib64/octave-2.1.49; export LD_LIBRARY_PATH; LD_LIBRARY_PATH=`echo "$r/bfd:$r/opcodes: $r/x86_64-suse-linux/libstdc++-v3/src/.libs: $r/x86_64-suse-linux/libmudflap/.libs:$LD_LIBRARY_PATH" | sed 's,::*,:,g;s,^:*,,;s,:*$,,'`; expo 10313 pts/5 S 0:00 | \_ /bin/sh -c r=`${PWDCMD-pwd}`; export r; s=`cd ../gcc-4.0.1; ${PWDCMD-pwd}`; export s; LD_LIBRARY_PATH=/home/leopardi/src/gcc/gcc-4.0.1-obj/gcc:/usr/lib64/octave-2.1.49; export LD_LIBRARY_PATH; LD_LIBRARY_PATH=`echo "$r/bfd:$r/opcodes: $r/x86_64-suse-linux/libstdc++-v3/src/.libs: $r/x86_64-suse-linux/libmudflap/.libs:$LD_LIBRARY_PATH" | sed 's,::*,:,g;s,^:*,,;s,:*$,,'`; 10364 pts/5 S 0:00 | \_ make DESTDIR= RPATH_ENVVAR=LD_LIBRARY_PATH TARGET_SUBDIR=x86_64-suse-linux bindir=/usr/local/gcc/gcc-4.0.1/bin datadir=/usr/local/gcc/gcc-4.0.1/share exec_prefix=/usr/local/gcc/gcc-4.0.1 includedir=/usr/local/gcc/gcc-4.0.1/include infodir=/usr/local/gcc/gcc-4.0.1/info libdir=/usr/local/gcc/gcc-4.0.1/lib libexecdir=/usr/local/gcc/gcc-4.0.1/libexec lispdir= libstdcxx_ 32393 pts/5 S 0:00 | \_ /bin/sh -c (rootme=`${PWDCMD-pwd}`; export rootme; srcdir=`cd ../../gcc-4.0.1/gcc; ${PWDCMD-pwd}` ; export srcdir ; cd testsuite; EXPECT=expect ; export EXPECT ; if [ -f ${rootme}/../expect/expect ] ; then TCL_LIBRARY=`cd .. ; cd ../../gcc-4.0.1/gcc/../tcl/library ; ${PWDCMD-pwd}` ; export TCL_LIBRARY ; fi ; runtest --tool g++ ) 32394 pts/5 S 0:00 | \_ /bin/sh -c (rootme=`${PWDCMD-pwd}`; export rootme; srcdir=`cd ../../gcc-4.0.1/gcc; ${PWDCMD-pwd}` ; export srcdir ; cd testsuite; EXPECT=expect ; export EXPECT ; if [ -f ${rootme}/../expect/expect ] ; then TCL_LIBRARY=`cd .. ; cd ../../gcc-4.0.1/gcc/../tcl/library ; ${PWDCMD-pwd}` ; export TCL_LIBRARY ; fi ; runtest --tool g++ ) 32397 pts/5 S 0:25 | \_ expect -- /usr/share/dejagnu/runtest.exp --tool g++ 12232 pts/6 Ss+ 0:00 | \_ g++ /home/leopardi/src/gcc/gcc-4.0.1/gcc/testsuite/g++.dg/other/infloop-1.C -nostdinc++ -I/home/leopardi/src/gcc/gcc-4.0.1-obj/x86_64-suse-linux/libstdc++-v3/include/x86_64-suse-linux -I/home/leopardi/src/gcc/gcc-4.0.1-obj/x86_64-suse-linux/libstdc++-v3/include -I/home/leopardi/src/gcc/gcc-4.0.1/libstdc++-v3/libsupc++ -I/home/leopardi/src/gcc/gcc-4.0 12235 pts/6 R+ 4:42 | \_ /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/cc1plus -quiet -nostdinc++ -I/home/leopardi/src/gcc/gcc-4.0.1-obj/x86_64-suse-linux/libstdc++-v3/include/x86_64-suse-linux -I/home/leopardi/src/gcc/gcc-4.0.1-obj/x86_64-suse-linux/libstdc++-v3/include -I/home/leopardi/src/gcc/gcc-4.0.1/libstdc++-v3/libsupc++ -I/home/leopardi/src/gcc/gcc-4.0.1/libstdc++-v 1 It looks to me like expect is calling g++. My normal, installed g++, not the new g++ which it is supposed to be testing. Why? What is going on? Has anyone else seen this before?
On Fri, 22 Jul 2005 01:01 am, Paul C. Leopardi wrote:
It looks to me like expect is calling g++. My normal, installed g++, not the new g++ which it is supposed to be testing. Why? What is going on? Has anyone else seen this before?
This may have to do with my .bashrc file. It contained export CXX=g++ I'm going to try "make -k check" again without $CXX defined.
participants (5)
-
Andreas Jaeger
-
Jyh-Shyong Ho
-
Karaoulis Marios
-
Marcin Zalewski
-
Paul C. Leopardi