After setting the system vm to blackdown-jdk-1.3.1 and issuing the emerge command, the build breaks as follows:- <BEGIN> c++ -c -I. -I/var/tmp/portage/openoffice-1.0.0-r1/work/oo_1.0_src/solver/641/unxlngi4.pro/inc/stl -I/var/tmp/portage/openoffice-1.0.0-r1/work/oo_1.0_src/solver/641/unxlngi4.pro/inc/external -I/var/tmp/portage/openoffice-1.0.0-r1/work/oo_1.0_src/solver/641/unxlngi4.pro/inc -I/var/tmp/portage/openoffice-1.0.0-r1/work/oo_1.0_src/solenv/unxlngi4/inc -I/var/tmp/portage/openoffice-1.0.0-r1/work/oo_1.0_src/solenv/inc -I/var/tmp/portage/openoffice-1.0.0-r1/work/oo_1.0_src/res -I/usr/include -I/var/tmp/portage/openoffice-1.0.0-r1/work/oo_1.0_src/solver/641/unxlngi4.pro/inc/stl -I/var/tmp/portage/openoffice-1.0.0-r1/work/oo_1.0_src/solenv/inc/Xp31 -I/opt/blackdown-jdk-1.3.1/include -I/opt/blackdown-jdk-1.3.1/include/linux -I/opt/blackdown-jdk-1.3.1/include/native_threads/include -I/usr/X11R6/include -I/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/include -I/usr/include -I. -I../dist/../include -D_REENTRANT -I/opt/blackdown-jdk-1.3.1/include -I/opt/blackdown-jdk-1.3.1/include/linux -fexceptions -march=athlon-tbird -mmmx -m3dnow -O3 -pipe -fomit-frame-pointer ../dist/../cxx/cxx_app.cpp -fPIC -DPIC -o cxx_app.lo cc1plus: warning: changing search order for system directory "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/include" cc1plus: warning: as it has already been specified as a non-system directory cc1plus: warning: changing search order for system directory "/usr/include" cc1plus: warning: as it has already been specified as a non-system directory ../cxx/cxx_app.cpp:362: no `int DbEnv::set_mutexlocks(int)' member function declared in class `DbEnv' ../cxx/cxx_app.cpp: In member function `int DbEnv::set_mutexlocks(int)': ../cxx/cxx_app.cpp:362: `struct __db_env' has no member named `set_mutexlocks' ../cxx/cxx_app.cpp: At global scope: ../cxx/cxx_app.cpp:430: no `int DbEnv::set_pageyield(int)' member function declared in class `DbEnv' ../cxx/cxx_app.cpp: In member function `int DbEnv::set_pageyield(int)': ../cxx/cxx_app.cpp:433: `db_env_set_pageyield' undeclared (first use this function) ../cxx/cxx_app.cpp:433: (Each undeclared identifier is reported only once for each function it appears in.) ../cxx/cxx_app.cpp: At global scope: ../cxx/cxx_app.cpp:441: no `int DbEnv::set_panicstate(int)' member function declared in class `DbEnv' ../cxx/cxx_app.cpp: In member function `int DbEnv::set_panicstate(int)': ../cxx/cxx_app.cpp:444: `db_env_set_panicstate' undeclared (first use this function) ../cxx/cxx_app.cpp: At global scope: ../cxx/cxx_app.cpp:452: no `int DbEnv::set_region_init(int)' member function declared in class `DbEnv' ../cxx/cxx_app.cpp: In member function `int DbEnv::set_region_init(int)': ../cxx/cxx_app.cpp:455: `db_env_set_region_init' undeclared (first use this function) ../cxx/cxx_app.cpp: At global scope: ../cxx/cxx_app.cpp:462: no `int DbEnv::set_server(char*, long int, long int, unsigned int)' member function declared in class `DbEnv' ../cxx/cxx_app.cpp: In member function `int DbEnv::set_server(char*, long int, long int, unsigned int)': ../cxx/cxx_app.cpp:466: no matching function for call to `__db_env::set_server(DB_ENV*&, char*&, long int&, long int&, u_int32_t&)' ../cxx/cxx_app.cpp: In member function `int DbEnv::set_tas_spins(unsigned int)': ../cxx/cxx_app.cpp:488: `db_env_set_tas_spins' undeclared (first use this function) make: *** [cxx_app.lo] Error 1 dmake: Error code 2, while making './unxlngi4.pro/misc/build/so_built' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.0.0-r1/work/oo_1.0_src/berkeleydb dmake: Error code 1, while making 'build_all' ---* TG_SLO.MK *--- !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 58, Exitcode 255 !!! Build failed! !!! emerge aborting on /usr/portage/app-office/openoffice/openoffice-1.0.0-r1.ebuild . </BEGIN> The system has been built from scratch using the 1.3a tarball. The glibc version is 2.2.5-r4 and the default CFLAGS and CXXFLAGS are as follows:- -march=athlon-tbird -mmmx -m3dnow -O3 -fomit-frame-pointer -pipe
I can confirm this: I installed both gcc-3.0.4 and 3.1. OOo cannot compile. I moved /usr/bin/*-3.1 to a safe place: OOo compiled with no problem.
Dont know ... I have compiled -r1 with gcc-3.0.4, gcc-3.1, and also now -r2 (only slightly modified to also accomodate gcc-3.1.1) with 3.1.1. Try -r2 and let me know.
First of all: my system: Bootstrapped with Gentoo 1.3b: GCC 3.1 system JDK 1.4.0 from SUN built from scratch did emerge rsync emerge --update system TODAY: 21 July 2002 tried to emerge openoffice FAILED. emerged gcc-3.1.1 tried to emerge openoffice FAILED. It seems that OOo's build process depends on binary files being recognised by nm. Is this a binutils problem? nm --version returns: GNU nm 2.12.90.0.7 20020423 This is the error message I get after a couple of lines into the emerge: Using: ../../unxlngi4.pro/slb/gnu_getopt.lib ------------------------------ Making: ../../unxlngi4.pro/slb/gnu_getopt.lib nm: ../../unxlngi4.pro/obj/getopt.o: File format not recognized nm: ../../unxlngi4.pro/obj/getopt1.o: File format not recognized dmake: Error code 2, while making '../../unxlngi4.pro/slb/gnu_getopt.lib' dmake: '../../unxlngi4.pro/slb/gnu_getopt.lib' removed. ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/external/glibc/rtufiles This is only for the bootstrap process. The emerge continues however! Later it fails outright with the following message: Making: ../unxlngi4.pro/bin/makedepend unx c++ -Wl,-export-dynamic -Wl,--noinhibit-exec -L../unxlngi4.pro/lib -L../lib -L/var/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/solenv/unxlngi4/lib -L/var/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/solver/641/unxlngi4.pro/lib -L/var/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/solenv/unxlngi4/lib -L/lib -L/usr/lib -L/usr/local/lib -L/opt/java/j2sdk/lib -L/usr/X11R6/lib -o ../unxlngi4.pro/bin/makedepend ../unxlngi4.pro/obj/cppsetup.o ../unxlngi4.pro/obj/ifparser.o ../unxlngi4.pro/obj/include.o ../unxlngi4.pro/obj/main.o ../unxlngi4.pro/obj/parse.o ../unxlngi4.pro/obj/pr.o -ldl -lm ../unxlngi4.pro/obj/cppsetup.o: file not recognized: File format not recognized collect2: ld returned 1 exit status dmake: Error code 1, while making '../unxlngi4.pro/bin/makedepend' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.0.0-r2/work/oo_1.0_src/soltools/mkdepend dmake: Error code 1, while making 'build_all' ---* TG_SLO.MK *--- !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 3045, Exitcode 255 !!! Build failed! !!! emerge aborting on /usr/portage/app-office/openoffice/openoffice-1.0.0-r2.ebuild . Please! This is the ONLY part of my system that doesn't work... HELP ME! (sidenote if I get this working before Monday, I have spent 1 week setting up my Gentoo system specifically for GCC 3.1)
this is fixed with the 1.0.1 ebuild...