Bugs item #2013815, was opened at 2008-07-08 23:09
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2013815&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: MonetDB5 CVS Head
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Stefan Manegold (stmane)
Assigned to: stratos (idreos)
Summary: M5: crackers fails to compile with optization enabled
Initial Comment:
When configured with "--disable-debug" and/or "--enable-optimize" (i.e., once
any "-O" switch is used with gcc), crackers fails to compile:
========
make[9]: Entering directory
`/net/rig.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/build.--enable-strict_--disable-optimize_--disable-debug_--disable-assert/MonetDB5/src/modules/mal/crackers'
/bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../../..
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers
-I../../atoms
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers/../../atoms
-I../../kernel
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers/../../kernel
-I../../../mal
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers/../../../mal
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--disable-debug_--disable-assert/include/MonetDB
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--disable-debug_--disable-assert/include/MonetDB/mapilib
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/prefix.--enable-strict_--disabl
e-optimize_--disable-debug_--disable-assert/include/MonetDB
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--disable-debug_--disable-assert/include/MonetDB/common
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--disable-debug_--disable-assert/include/MonetDB/gdk
-DLIBCRACKERS -O2 -Wall -Wextra -std=c99
-Werror-implicit-function-declaration -Werror -Wpointer-arith
-Wdeclaration-after-statement -Wundef -Wp,-D_FORTIFY_SOURCE=2 -D_REENTRANT -c
-o lib_crackers_la-crackers_partial_sideways.lo `test -f
'crackers_partial_sideways.c' || echo
'/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers/'`crackers_partial_sideways.c
gcc -DHAVE_CONFIG_H -I. -I../../../..
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers
-I../../atoms
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers/../../atoms
-I../../kernel
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers/../../kernel
-I../../../mal
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers/../../../mal
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--disable-debug_--disable-assert/include/MonetDB
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--disable-debug_--disable-assert/include/MonetDB/mapilib
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--disable-debug_--disable-assert/include
/MonetDB
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--disable-debug_--disable-assert/include/MonetDB/common
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/prefix.--enable-strict_--disable-optimize_--disable-debug_--disable-assert/include/MonetDB/gdk
-DLIBCRACKERS -O2 -Wall -Wextra -std=c99 -Werror-implicit-function-declaration
-Werror -Wpointer-arith -Wdeclaration-after-statement -Wundef
-Wp,-D_FORTIFY_SOURCE=2 -D_REENTRANT -c crackers_partial_sideways.c -fPIC
-DPIC -o .libs/lib_crackers_la-crackers_partial_sideways.o
cc1: warnings being treated as errors
/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers/crackers_partial_sideways.mx:
In function 'CRKselectBoundsTailIncrementalSideways_int_int':
/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers/crackers_partial_sideways.mx:1534:
warning: 'base' may be used uninitialized in this function
/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers/crackers_partial_sideways.mx:1522:
warning: 'posh' may be used uninitialized in this function
/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers/crackers_partial_sideways.mx:1522:
warning: 'posl' may be used uninitialized in this function
/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers/crackers_partial_sideways.mx:1534:
warning: 'tuplesToAnalyze' may be used uninitialized in this function
/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/modules/mal/crackers/crackers_partial_sideways.mx:1533:
warning: 'pairt' may be used uninitialized in this function
make[9]: *** [lib_crackers_la-crackers_partial_sideways.lo] Error 1
make[9]: Leaving directory
`/net/rig.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/build.--enable-strict_--disable-optimize_--disable-debug_--disable-assert/MonetDB5/src/modules/mal/crackers'
========
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2013815&group_id=56967
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs