(Illustration by Gaich Muramatsu)
Hello, I started using codafs very recently, and I noticed it only builds with gcc-2.9x. For Mandrake Linux, there is a codafs package in contribs, which is 5.3.17, which I'd like to update to 5.3.19. The problem is that it has switched to the gcc-3.2 compiler. For the latest release there still is a gcc-2.9x around, because the java re is still built with it, and mozilla's java plugin only works when mozilla is built with gcc-2.9x. I suspect gcc-2.9x will be dropped after the java packages are built with gcc-3.2. My question is if the next version of coda can be built with gcc-3.2. If not, it might become hard to keep it in the distro. I read this message, which advises against gcc-3.1; http://www.coda.cs.cmu.edu/maillists/codalist/codalist-2002/4285.html The message I got was that even if the build errors are fixed, there might be other problems which could cause data corruption. I got a compile error with gcc-3.2 and coda-5.3.19. The software I use is: gcc-3.2-2mdk gcc-c++-3.2-2mdk glibc-2.2.5-16mdk kernel-headers-2.4.18-41mdk It builds fine with gcc-2.9x The complete log is at: http://www.chaosmongers.org/linux/coda-build Part of the compile log: make[2]: Entering directory `/home/marcel/rpm/BUILD/obj-5.3.19/coda-src/venus' c++ -fno-exceptions -fno-operator-names -MD -DHAVE_CONFIG_H -I. -I/home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus -I/home/marcel/rpm/BUILD/obj-5.3.19/include -I/home/marcel/rpm/BUILD/obj-5.3.19 -g -O2 -DVENUS -DTIMING -DVENUSDEBUG -DRVM_USELWP -c -o adv_monitor.o /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/adv_monitor.cc c++ -fno-exceptions -fno-operator-names -MD -DHAVE_CONFIG_H -I. -I/home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus -I/home/marcel/rpm/BUILD/obj-5.3.19/include -I/home/marcel/rpm/BUILD/obj-5.3.19 -g -O2 -DVENUS -DTIMING -DVENUSDEBUG -DRVM_USELWP -c -o adv_daemon.o /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/adv_daemon.cc c++ -fno-exceptions -fno-operator-names -MD -DHAVE_CONFIG_H -I. -I/home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus -I/home/marcel/rpm/BUILD/obj-5.3.19/include -I/home/marcel/rpm/BUILD/obj-5.3.19 -g -O2 -DVENUS -DTIMING -DVENUSDEBUG -DRVM_USELWP -c -o binding.o /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/binding.cc c++ -fno-exceptions -fno-operator-names -MD -DHAVE_CONFIG_H -I. -I/home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus -I/home/marcel/rpm/BUILD/obj-5.3.19/include -I/home/marcel/rpm/BUILD/obj-5.3.19 -g -O2 -DVENUS -DTIMING -DVENUSDEBUG -DRVM_USELWP -c -o comm.o /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/comm.cc /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/comm.cc: In member function `connent* conn_iterator::operator()()': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/comm.cc:601: warning: invalid offsetof from non-POD type `class connent'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/comm.cc: In member function `srvent* srv_iterator::operator()()': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/comm.cc:1449: warning: invalid offsetof from non-POD type `class srvent'; use pointer to member instead c++ -fno-exceptions -fno-operator-names -MD -DHAVE_CONFIG_H -I. -I/home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus -I/home/marcel/rpm/BUILD/obj-5.3.19/include -I/home/marcel/rpm/BUILD/obj-5.3.19 -g -O2 -DVENUS -DTIMING -DVENUSDEBUG -DRVM_USELWP -c -o comm_daemon.o /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/comm_daemon.cc c++ -fno-exceptions -fno-operator-names -MD -DHAVE_CONFIG_H -I. -I/home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus -I/home/marcel/rpm/BUILD/obj-5.3.19/include -I/home/marcel/rpm/BUILD/obj-5.3.19 -g -O2 -DVENUS -DTIMING -DVENUSDEBUG -DRVM_USELWP -c -o daemon.o /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/daemon.cc c++ -fno-exceptions -fno-operator-names -MD -DHAVE_CONFIG_H -I. -I/home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus -I/home/marcel/rpm/BUILD/obj-5.3.19/include -I/home/marcel/rpm/BUILD/obj-5.3.19 -g -O2 -DVENUS -DTIMING -DVENUSDEBUG -DRVM_USELWP -c -o fso0.o /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc: In function `void FSOInit()': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc:239: warning: invalid offsetof from non-POD type `class fsobj'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc: In function `int FSO_PriorityFN(bsnode*, bsnode*)': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc:324: warning: invalid offsetof from non-POD type `class fsobj'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc:325: warning: invalid offsetof from non-POD type `class fsobj'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc: In member function `int fsdb::TranslateFid(ViceFid*, ViceFid*)': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc:1148: warning: invalid offsetof from non-POD type `class fsobj'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc: In member function `int fsdb::GrabFreeFso(int, fsobj**)': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc:1259: warning: invalid offsetof from non-POD type `class fsobj'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc: In member function `void fsdb::ReclaimFsos(int, int)': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc:1277: warning: invalid offsetof from non-POD type `class fsobj'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc: In member function `int fsdb::FreeBlockCount()': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc:1324: warning: invalid offsetof from non-POD type `class fsobj'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc: In member function `void fsdb::ReclaimBlocks(int, int)': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso0.cc:1407: warning: invalid offsetof from non-POD type `class fsobj'; use pointer to member instead c++ -fno-exceptions -fno-operator-names -MD -DHAVE_CONFIG_H -I. -I/home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus -I/home/marcel/rpm/BUILD/obj-5.3.19/include -I/home/marcel/rpm/BUILD/obj-5.3.19 -g -O2 -DVENUS -DTIMING -DVENUSDEBUG -DRVM_USELWP -c -o fso1.o /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc: In destructor `fsobj::~fsobj()': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc:293: warning: invalid offsetof from non-POD type `class fsobj'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc: In member function `int fsobj::Flush()': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc:642: warning: invalid offsetof from non-POD type `class fsobj'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc: In function `binding* CheckForDuplicates(dlist*, void*)': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc:1518: warning: invalid offsetof from non-POD type `class binding'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc: In member function `void fsobj::DemoteHdbBindings()': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc:1585: warning: invalid offsetof from non-POD type `class binding'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc: In member function `void fsobj::DetachHdbBindings()': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc:1617: warning: invalid offsetof from non-POD type `class binding'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc: In member function `void fsobj::DetachHdbBinding(binding*, int)': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc:1663: warning: invalid offsetof from non-POD type `class binding'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc: In member function `void fsobj::CacheReport(int, int)': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc:2384: warning: invalid offsetof from non-POD type `class fsobj'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc:2400: warning: invalid offsetof from non-POD type `class fsobj'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc: In member function `void fsobj::print(int)': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc:2499: warning: invalid offsetof from non-POD type `class binding'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc: In member function `fsobj* fso_iterator::operator()()': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc:2614: warning: invalid offsetof from non-POD type `class fsobj'; use pointer to member instead /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc: In member function `fsobj* fso_vol_iterator::operator()()': /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso1.cc:2631: warning: invalid offsetof from non-POD type `class fsobj'; use pointer to member instead c++ -fno-exceptions -fno-operator-names -MD -DHAVE_CONFIG_H -I. -I/home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus -I/home/marcel/rpm/BUILD/obj-5.3.19/include -I/home/marcel/rpm/BUILD/obj-5.3.19 -g -O2 -DVENUS -DTIMING -DVENUSDEBUG -DRVM_USELWP -c -o fso_cachefile.o /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso_cachefile.cc /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso_cachefile.cc:136: default argument given for parameter 1 of `void CacheFile::Create(int = 0)' /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso.h:292: after previous specification in `void CacheFile::Create(int = 0)' /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso_cachefile.cc:187: default argument given for parameter 3 of `int CacheFile::Copy(char*, ino_t*, int = 0)' /home/marcel/rpm/BUILD/coda-5.3.19/coda-src/venus/fso.h:299: after previous specification in `int CacheFile::Copy(char*, ino_t* = 0, int = 0)' make[2]: *** [fso_cachefile.o] Error 1 make[2]: Leaving directory `/home/marcel/rpm/BUILD/obj-5.3.19/coda-src/venus' make[1]: *** [venus] Error 2 make[1]: Leaving directory `/home/marcel/rpm/BUILD/obj-5.3.19/coda-src' make: *** [coda-src] Error 2 error: Bad exit status from /home/marcel/rpm/tmp/rpm-tmp.45489 (%build) -- Marcel Pol Linux 2.4.19-16.ringworld-mdk, up 2 days, 17:11 Registered User #163523Received on 2002-10-30 04:30:48