[Clfs-support] libtool error on x86_64 multi

Joe Ciccone jciccone at gmail.com
Thu Oct 2 16:45:59 PDT 2008


mike wrote:
> Joe Ciccone schrieb:
>> mike wrote:
>>  
>>> hi all,
>>>
>>> can anybody give a hint about this error:
>>>
>>> dialog-1.1-20080316$ make
>>> /usr/bin/libtool --mode=compile gcc -m32 -g -O2 -I/usr/include/ncurses
>>> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I. -I.
>>> -DLOCALEDIR=\"/usr/share/locale\" -c trace.c
>>> libtool: compile: unable to infer tagged configuration
>>> libtool: compile: specify a tag with `--tag'
>>> make: *** [trace.lo] error 1
>>>
>>> build with -m64 goes fine...?
>>>
>>>     
>> Correct, Libtool wasn't designed with multilib in mind. The system wide
>> installation is only 64bit. I've experimented with using the multiarch
>> wrapper around libtool to prevent situations such as this.
>> _______________________________________________
>> Clfs-support mailing list
>> Clfs-support at lists.cross-lfs.org
>> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>>
>>   
> hi,
>
> i modified the makefile. the libtool_opts form configure does not work
> correctly. i must added the '--tag=CC' to LIBTOOL_COMPILE and to
> LIBTOOL_LINK. the --tag flag must stand before the --mode flag. that
> working for me.
Take a look at the change I just made to the book in r4046. Wrapping
libtool with the multiarch wrapper. This will fix this without all the
madness.
http://trac.cross-lfs.org/changeset/4046

USE_ARCH=32 make CC="gcc -m32"






More information about the Clfs-support mailing list