Increasing the INLINE_MAX_TERM_SIZE setting from 50 to 80 in strc-core/lib/stratego/strc/opt/inlining.str appears to lead to a compilation error in the dryad-compiler project (http://releases.strategoxt.org/dryad-compiler/unstable/). This probably indicates an underlying issue that should be fixed regardless of this setting. Similarly, increasing this threshold revealed that STR-626 was not really fixed.

Submitted on 30 January 2009 at 13:51

On 30 January 2009 at 13:57 Jira commented:

STR-767, lennartkats:
With this setting, a clean dryad-compiler build fails with:

gcc -Wall -Wno-unused-label -Wno-unused-variable -Wno-unused-function -Wno-unused-parameter […]]
../lib/.libs/libdryad-compiler.so: undefined reference to n_772' ../lib/.libs/libdryad-compiler.so: undefined reference tou_753’
collect2: ld returned 1 exit status
make[1]: *** [dryad-compiler] Error 1
make[1]: Leaving directory `/home/lk/projects/StrategoXT/dryad-compiler/trunk/xtc’
make: *** [all-recursive] Error 1

(I only observed this in the dryad-compiler project, but there may be other projects affected by this as well, with or without this setting change.)

Log in to post comments