On Wed, 19 Aug 2009, Mark Taylor wrote:
> On Wed, 19 Aug 2009, Peter W. Draper wrote:
>
>> I looked at this and couldn't reproduce this behaviour. That is I added
>> "CFLAGS=-m64" to $STARCONF_DEFAULT_PREFIX/share/config.site, made sure
>> CFLAGS where not set anywhere else, git-cleaned tkimg and the build
>> worked with all the compilations showing -m64.
>
> talking of -m ...
>
> on my 64-bit SL5.3 I'm trying to build a 32-bit version. I have
>
> setenv FC gfortran43
> setenv F77 gfortran43
> setenv CFLAGS -m32
> setenv FCFLAGS -m32
> setenv CXXFLAGS -m32
>
> bootstrap works, but make configure-deps fails in blt:
>
> % make configure-deps
> ...
> cd thirdparty/tclsys/blt \
> && test -f config.status || ./configure >configure-output.log 2>configure-output.log.err || { cat configure-output.log.err; false; } \
> && (make && make install) >make.log 2>make.log.err || { cat make.log.err; false; }
> ...
> /usr/bin/ld: skipping incompatible /mbt/starauto32/lib/libtcl8.5.so when searching for -ltcl8.5
> /usr/bin/ld: cannot find -ltcl8.5
>
> The skipped lib looks like
>
> % file /mbt/starauto32/lib/libtcl8.5.so
> /mbt/starauto32/lib/libtcl8.5.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
>
> This 32-bit compile is probably not essential, and I'm not sure if it's
> supposed to work, but it used to. Feel free to investigate if you think
> it can/should be fixed.
Hi Mark,
this wouldn't have worked until today's BLT changes as the -m32 would
have been ignored. Try updating, that's:
git pull
./update-modules
cd thirdparty/tclsys/blt/blt
git clean -fdx
and then starting the "make configure-deps" again.
Cheers,
Peter.
|