Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307465 - Further IRIX libtool problems...
Summary: Further IRIX libtool problems...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High critical (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-02 10:52 UTC by Stuart Shelton
Modified: 2011-12-15 18:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2010-03-02 10:52:20 UTC
A significant minority of builds on IRIX, in this case pango, are failing with errors such as:

libtool: compile: mv -f "libharfbuzz_la-hb-font.o" ".libs/libharfbuzz_la-hb-font.o"
mv: cannot stat `libharfbuzz_la-hb-font.o': No such file or directory
make[4]: *** [libharfbuzz_la-hb-font.lo] Error 1

... but this appears to be yet another libtool incompatibility.

If libtool is invoked as:

source='hb-font.cc' object='libharfbuzz_la-hb-font.lo' libtool=yes \
        DEPDIR=.deps depmode=gcc /opt/gentoo/bin/bash ../../depcomp \
        /opt/gentoo/bin/bash ../../libtool --tag=CXX   --mode=compile CC -DHAVE_CONFIG_H -I. -I../..  -DHAVE_GLIB -D_REENTRANT -I/opt/gentoo/usr/include/glib-2.0 -I/opt/gentoo/usr/lib32/glib-2.0/include   -I/opt/gentoo/usr/include  -J2 -O2 -n32 -mips4 -r14000 -float_const -use_readonly_const -TARG:isa=mips4:platform=ip30:processor=r14000 -TENV:zeroinit_in_bss=ON -OPT:fast_io=ON:Olimit=8192:reorg_common=ON:swp=ON -LNO:auto_dist=ON:fusion_peeling_limit=8:gather_scatter=2 -diag_error 1035,1999,3333 -FE:eliminate_duplicate_inline_copies:template_in_elf_section -woff 1174,1183,1185,1552,3968,3970  -fno-rtti -fno-exceptions -c -o libharfbuzz_la-hb-font.lo `test -f 'hb-font.cc' || echo './'`hb-font.cc

... the next line output is:

libtool: compile:  CC -DHAVE_CONFIG_H -I. -I../.. -DHAVE_GLIB -D_REENTRANT -I/opt/gentoo/usr/include/glib-2.0 -I/opt/gentoo/usr/lib32/glib-2.0/include -I/opt/gentoo/usr/include -J2 -O2 -n32 -mips4 -r14000 -float_const -use_readonly_const -TARG:isa=mips4:platform=ip30:processor=r14000 -TENV:zeroinit_in_bss=ON -OPT:fast_io=ON:Olimit=8192:reorg_common=ON:swp=ON -LNO:auto_dist=ON:fusion_peeling_limit=8:gather_scatter=2 -diag_error 1035,1999,3333 -FE:eliminate_duplicate_inline_copies:template_in_elf_section -woff 1174,1183,1185,1552,3968,3970 -fno-rtti -fno-exceptions -c hb-font.cc -Wp,-MD,.deps/libharfbuzz_la-hb-font.TPlo

... noting that there is no "-o" option: the build process is failing because libtool isn't instructing the compiler to write the output object file anywhere, in turn causing the next step (moving the object file to its new location) to fail because the file rightly doesn't exist.

Has this been seen on any other platform?  Is there a known fix?

I should be able to hack the IRIX-MIPSpro-wrapper to look for invocations containing ".TPlo" but lacking a "-o" parameter and synthesize the latter - but the correct solution must be to fix libtool...
Comment 1 Fabian Groffen gentoo-dev 2011-12-15 18:51:07 UTC
We are sorry to close this bug.  We lack the man-power and devotion to support mips-irix in the tree.