Rene, I filed a bug report earlier today but later found out that it was the command wrapper of t2sde tricking glib build system from detecting and stripping out the optimization flags. I later read the auto configure script from glib and found that it was in fact, stripping out all optimization (see below). The reason why you do not see the problem probably because your target config is not set to use optimization, ie. SDECFGSET_OPT=size. If your build target wrapper has gcc remaps to something like "gcc -Os", it will break glib! I think to be safe, either add the patch or do not use cmd wrapper to pass any kind of compiler flags.
bug report reference: https://bugzilla.gnome.org/show_bug.cgi?id=758028 Snipplet from glib configure.ac script: it removes all "-O?" flags: dnl *Remove all optimization flags from CFLAGS* changequote({,}) * CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`* changequote([,]) dnl Add the special gcc flags *CFLAGS="$CFLAGS -O0 -fprofile-arcs -ftest-coverage"* LDFLAGS="$LDFLAGS -lgcov"
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
