Bugs item #2013182, was opened at 2008-07-08 08:21
Message generated for change (Comment added) made by mlkersten
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2013182&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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Stefan Manegold (stmane)
Assigned to: Martin Kersten (mlkersten)
Summary: M5 fails to compile with optimization enabled

Initial Comment:
When configured with --disable-debug or --enable-optimize, M5 fails to compile:

make[5]: Entering directory 
`/net/rig.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/build.--enable-strict_--disable-optimize_--disable-debug_--disable-assert/MonetDB5/src/mal'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. 
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/mal 
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/mal 
-I../optimizer 
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/mal/../optimizer
 -I../scheduler 
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/mal/../scheduler
 -I../modules/kernel 
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/mal/../modules/kernel
 
-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
     -DLIBMAL  -O2 -Wal
 l -Wextra -std=c99 -Werror-implicit-function-declaration -Werror 
-Wpointer-arith -Wdeclaration-after-statement -Wundef -Wp,-D_FORTIFY_SOURCE=2  
-D_REENTRANT  -c -o libmonetdb5_la-mal_interpreter.lo `test -f 
'mal_interpreter.c' || echo 
'/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/mal/'`mal_interpreter.c
 gcc -DHAVE_CONFIG_H -I. -I../.. 
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/mal 
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/mal 
-I../optimizer 
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/mal/../optimizer
 -I../scheduler 
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/mal/../scheduler
 -I../modules/kernel 
-I/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/mal/../modules/kernel
 
-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
 -DLIBMAL -O2 -Wall -Wextra -std=c99 -Werror-implicit-function-decla
 ration -Werror -Wpointer-arith -Wdeclaration-after-statement -Wundef 
-Wp,-D_FORTIFY_SOURCE=2 -D_REENTRANT -c mal_interpreter.c  -fPIC -DPIC -o 
.libs/libmonetdb5_la-mal_interpreter.o
cc1: warnings being treated as errors
/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/mal/mal_interpreter.mx:
 In function 'runFlow':
/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/mal/mal_interpreter.mx:1851:
 warning: 'oldMemory.arena' is used uninitialized in this function
/ufs/manegold/_/scratch0/Monet/Testing/Current/source/MonetDB5/src/mal/mal_interpreter.mx:740:
 warning: 'exceptionVar' may be used uninitialized in this function
make[5]: *** [libmonetdb5_la-mal_interpreter.lo] Error 1
make[5]: Leaving directory 
`/net/rig.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/build.--enable-strict_--disable-optimize_--disable-debug_--disable-assert/MonetDB5/src/mal'


----------------------------------------------------------------------

>Comment By: Martin Kersten (mlkersten)
Date: 2008-07-08 10:22

Message:
Logged In: YES 
user_id=490798
Originator: NO

committed changes pending

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2013182&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

Reply via email to