Bugs item #1562713, was opened at 2006-09-21 10:21 Message generated for change (Comment added) made by stmane You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1562713&group_id=56967
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build Group: Pathfinder CVS Head >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Stefan Manegold (stmane) Assigned to: Jan Flokstra (jflokstra) Summary: PFtijah fails to compile with gcc 3.4.5 on Solaris10 x86 Initial Comment: Configured with "--enable-optimize" (the default for automatic nightly testing), PFtijah fails to compile with gcc 3.4.5 on Solaris 10 x86. For details, see http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.GNU.32.32.d-SunOS5.10/make-k.out ======== gcc -DHAVE_CONFIG_H -I. -I/export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah -I../.. -I/export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah -I../../runtime -I/export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah/../../runtime -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/common -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/gdk -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/monet -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/plain -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/contrib -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/mapi -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/C -I/usr/include/libxml2 -I../../compiler/include -I/export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah/../../compiler/include -DLIBPFTIJAH -O2 -std=c99 -D__EXTENSIONS__ -Wall -W -fno-strict-aliasing -O6 -fomit-frame-pointer -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexpensive-optimizations -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -DHWCOUNTERS -DHW_SunOS -DHW_i86pc -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label -Wno-uninitialized -c /export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah/nexi.c -fPIC -DPIC -o .libs/lib_pftijah_la-nexi.o/export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah/nexi.c: In function `myfileName': /export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah/nexi.c:1353: warning: int format, pid_t arg (arg 5) gmake[5]: *** [lib_pftijah_la-nexi.lo] Error 1 -------- gcc -DHAVE_CONFIG_H -I. -I/export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah -I../.. -I/export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah -I../../runtime -I/export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah/../../runtime -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/common -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/gdk -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/monet -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/plain -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/contrib -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/mapi -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/C -I/usr/include/libxml2 -I../../compiler/include -I/export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah/../../compiler/include -DLIBPFTIJAH -O2 -std=c99 -D__EXTENSIONS__ -Wall -W -fno-strict-aliasing -O6 -fomit-frame-pointer -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexpensive-optimizations -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -DHWCOUNTERS -DHW_SunOS -DHW_i86pc -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label -Wno-uninitialized -c pftijah_tokenize.yy.c -fPIC -DPIC -o .libs/lib_pftijah_la-pftijah_tokenize.yy.o In file included from /export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/common/monet_utils.h:5, from /export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/gdk/gdk.h:5, from /export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah/pftijah_tokenize.l:7: /export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/monetdb_config.h:661:1: "_FILE_OFFSET_BITS" redefined In file included from /opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.5/include/stdio.h:36, from lex.yy.c:29: /usr/include/sys/feature_tests.h:188:1: this is the location of the previous definition gmake[5]: *** [lib_pftijah_la-pftijah_tokenize.yy.lo] Error 1 -------- gcc -DHAVE_CONFIG_H -I. -I/export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah -I../.. -I/export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah -I../../runtime -I/export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah/../../runtime -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/common -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/gdk -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/monet -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/plain -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/contrib -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/mapi -I/export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/C -I/usr/include/libxml2 -I../../compiler/include -I/export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah/../../compiler/include -DLIBPFTIJAH -O2 -std=c99 -D__EXTENSIONS__ -Wall -W -fno-strict-aliasing -O6 -fomit-frame-pointer -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexpensive-optimizations -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -DHWCOUNTERS -DHW_SunOS -DHW_i86pc -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label -Wno-uninitialized -c nexi.yy.c -fPIC -DPIC -o .libs/lib_pftijah_la-nexi.yy.o In file included from /export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/common/monet_utils.h:5, from /export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/gdk/gdk.h:5, from serialize_pftijah.h:3, from /export/scratch1/monet/monet.GNU.32.32.d.18954/pathfinder/modules/pftijah/nexi.l:19: /export/scratch1/monet/monet.GNU.32.32.d.18954/MonetDB/.GNU.32.32.d-SunOS5.10/include/MonetDB/monetdb_config.h:661:1: "_FILE_OFFSET_BITS" redefined In file included from /opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.5/include/stdio.h:36, from lex.yy.c:29: /usr/include/sys/feature_tests.h:188:1: this is the location of the previous definition gmake[5]: *** [lib_pftijah_la-nexi.yy.lo] Error 1 ======== ---------------------------------------------------------------------- >Comment By: Stefan Manegold (stmane) Date: 2007-01-17 18:35 Message: Logged In: YES user_id=572415 Originator: YES With the repository split, the way of including *_config.h has been fixed, and compilation of PfTijah now also works fine on SunOS. ---------------------------------------------------------------------- Comment By: Stefan Manegold (stmane) Date: 2006-09-26 20:18 Message: Logged In: YES user_id=572415 Until the quite "priciple" compilation problems (cf., http://sourceforge.net/mailarchive/forum.php?thread_id=30604011&forum_id=39803) are "properly" solved, we do not try to compile the pftijah modules on SunOS/Solaris. ---------------------------------------------------------------------- Comment By: Jan Flokstra (jflokstra) Date: 2006-09-21 11:39 Message: Logged In: YES user_id=1054297 Repaired it (I think). I will check tomorrow. * Put an (int) cast before the getpid() call * simplified the include structure in pftijah_tokenize.l to prevent multiple definitions for _FILE_OFFSET_BITS ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1562713&group_id=56967 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Monetdb-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-bugs
