Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 296074

Summary: mysql-5.0.84-r1 fails to build on IRIX
Product: Gentoo/Alt Reporter: Stuart Shelton <srcshelton>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: IRIX   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stuart Shelton 2009-12-07 13:23:39 UTC
mysql-5.0.84-r1 configures correctly (after a patch to allow it to search for libraries in folders other than 'lib') and the build process proceeds well for some time.

However, the process fails with:

libtool: compile: mv -f "str_alloc.o" ".libs/str_alloc.o"
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I/opt/gentoo/usr/include -DDBUG_OFF -c99 -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 -woff 1174,1183,1185,1552,3968,3970 -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -n32 -c str_alloc.c -Wp,-MD,.deps/str_alloc.TPlo >/dev/null 2>&1
/opt/gentoo/bin/bash ../libtool --preserve-dup-deps --tag=CC   --mode=link cc  -DDBUG_OFF -c99 -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 -woff 1174,1183,1185,1552,3968,3970 -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing   -n32  -Wl,-s,-x,-n32,-mips4,-rdata_shared,-allow_jump_at_eop,-rpath,/opt/gentoo/usr/lib32:/opt/gentoo/lib32 -L/opt/gentoo/usr/lib32 -L/opt/gentoo/lib32  -o libmystrings.la   strxmov.lo bmove_upp.lo strappend.lo strcont.lo strend.lo strfill.lo strcend.lo is_prefix.lo strstr.lo strinstr.lo strmake.lo strnmov.lo strmov.lo longlong2str.lo bfill.lo bmove.lo bmove512.lo bchange.lo strxnmov.lo int2str.lo str2int.lo r_strinstr.lo strtod.lo bcmp.lo strtol.lo strtoul.lo strtoll.lo strtoull.lo llstr.lo strnlen.lo ctype.lo ctype-simple.lo ctype-mb.lo ctype-big5.lo ctype-cp932.lo ctype-czech.lo ctype-eucjpms.lo ctype-euc_kr.lo ctype-gb2312.lo ctype-gbk.lo ctype-sjis.lo ctype-tis620.lo ctype-ujis.lo ctype-utf8.lo ctype-ucs2.lo ctype-uca.lo ctype-win1250ch.lo ctype-bin.lo ctype-latin1.lo my_vsnprintf.lo xml.lo decimal.lo ctype-extra.lo my_strtoll10.lo str_alloc.lo  -lpthread -lgen -lnsl -lm  -lpthread -lrt
libtool: link: CC   .libs/libmystrings.a .libs/strxmov.o .libs/bmove_upp.o .libs/strappend.o .libs/strcont.o .libs/strend.o .libs/strfill.o .libs/strcend.o .libs/is_prefix.o .libs/strstr.o .libs/strinstr.o .libs/strmake.o .libs/strnmov.o .libs/strmov.o .libs/longlong2str.o .libs/bfill.o .libs/bmove.o .libs/bmove512.o .libs/bchange.o .libs/strxnmov.o .libs/int2str.o .libs/str2int.o .libs/r_strinstr.o .libs/strtod.o .libs/bcmp.o .libs/strtol.o .libs/strtoul.o .libs/strtoll.o .libs/strtoull.o .libs/llstr.o .libs/strnlen.o .libs/ctype.o .libs/ctype-simple.o .libs/ctype-mb.o .libs/ctype-big5.o .libs/ctype-cp932.o .libs/ctype-czech.o .libs/ctype-eucjpms.o .libs/ctype-euc_kr.o .libs/ctype-gb2312.o .libs/ctype-gbk.o .libs/ctype-sjis.o .libs/ctype-tis620.o .libs/ctype-ujis.o .libs/ctype-utf8.o .libs/ctype-ucs2.o .libs/ctype-uca.o .libs/ctype-win1250ch.o .libs/ctype-bin.o .libs/ctype-latin1.o .libs/my_vsnprintf.o .libs/xml.o .libs/decimal.o .libs/ctype-extra.o .libs/my_s
trtoll10.o .libs/str_alloc.o
/bin/../../usr/lib32/cmplrs/CC -DEFAULT:abi=n32:isa=mips4:proc=r14000:platform=ip30:opt_lvl=2:arith=1 -O2 -n32 -mips4 .libs/libmystrings.a .libs/strxmov.o .libs/bmove_upp.o .libs/strappend.o .libs/strcont.o .libs/strend.o .libs/strfill.o .libs/strcend.o .libs/is_prefix.o .libs/strstr.o .libs/strinstr.o .libs/strmake.o .libs/strnmov.o .libs/strmov.o .libs/longlong2str.o .libs/bfill.o .libs/bmove.o .libs/bmove512.o .libs/bchange.o .libs/strxnmov.o .libs/int2str.o .libs/str2int.o .libs/r_strinstr.o .libs/strtod.o .libs/bcmp.o .libs/strtol.o .libs/strtoul.o .libs/strtoll.o .libs/strtoull.o .libs/llstr.o .libs/strnlen.o .libs/ctype.o .libs/ctype-simple.o .libs/ctype-mb.o .libs/ctype-big5.o .libs/ctype-cp932.o .libs/ctype-czech.o .libs/ctype-eucjpms.o .libs/ctype-euc_kr.o .libs/ctype-gb2312.o .libs/ctype-gbk.o .libs/ctype-sjis.o .libs/ctype-tis620.o .libs/ctype-ujis.o .libs/ctype-utf8.o .libs/ctype-ucs2.o .libs/ctype-uca.o .libs/ctype-win1250ch.o .libs/ctype-bin.o .libs/ctype-latin1.o .libs/my_vsnprintf.o .libs/xml.o .libs/decimal.o .libs/ctype-extra.o .libs/my_strtoll10.o .libs/str_alloc.o -TARG:isa=mips4:platform=ip30:processor=r14000 -r14000 -float_const -use_readonly_const -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 -show -Wl,-v -Wl,-s -Wl,-x -Wl,-n32 -Wl,-mips4 -Wl,-allow_jump_at_eop -Wl,-rpath,/opt/gentoo/usr/lib32:/opt/gentoo/lib32 -Wl,-LD_MSG:error=158 -L/opt/gentoo/usr/lib32 -L/opt/gentoo/lib32 -woff 1174,1183,1185,1552,3968,3970 -diag_error 1035,1999,3333 -FE:eliminate_duplicate_inline_copies:template_in_elf_section -I/opt/gentoo/usr/include
/usr/lib32/cmplrs/edg_prelink -Yu -fSGI -L/opt/gentoo/usr/lib32 -L/opt/gentoo/lib32 -L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32 .libs/libmystrings.a .libs/strxmov.o .libs/bmove_upp.o .libs/strappend.o .libs/strcont.o .libs/strend.o .libs/strfill.o .libs/strcend.o .libs/is_prefix.o .libs/strstr.o .libs/strinstr.o .libs/strmake.o .libs/strnmov.o .libs/strmov.o .libs/longlong2str.o .libs/bfill.o .libs/bmove.o .libs/bmove512.o .libs/bchange.o .libs/strxnmov.o .libs/int2str.o .libs/str2int.o .libs/r_strinstr.o .libs/strtod.o .libs/bcmp.o .libs/strtol.o .libs/strtoul.o .libs/strtoll.o .libs/strtoull.o .libs/llstr.o .libs/strnlen.o .libs/ctype.o .libs/ctype-simple.o .libs/ctype-mb.o .libs/ctype-big5.o .libs/ctype-cp932.o .libs/ctype-czech.o .libs/ctype-eucjpms.o .libs/ctype-euc_kr.o .libs/ctype-gb2312.o .libs/ctype-gbk.o .libs/ctype-sjis.o .libs/ctype-tis620.o .libs/ctype-ujis.o .libs/ctype-utf8.o .libs/ctype-ucs2.o .libs/ctype-uca.o .libs/ctype-win1250ch.o .libs/ctype-bin.o .libs/ctype-latin1.o .libs/my_vsnprintf.o .libs/xml.o .libs/decimal.o .libs/ctype-extra.o .libs/my_strtoll10.o .libs/str_alloc.o -lCsup -lC -lCio
/usr/lib32/cmplrs/ld32 -call_shared -init _main -fini _fini -no_unresolved -transitive_link -demangle -elf -_SYSTYPE_SVR4 -LANG:std -OPT:IEEE_arith=1 -n32 -mips4 -OPT:fast_io=ON:Olimit=8192:reorg_common=ON:swp=ON -split_common -ivpad -LNO:auto_dist=ON:fusion_peeling_limit=8:gather_scatter=2 -show -v -s -x -n32 -mips4 -allow_jump_at_eop -rpath /opt/gentoo/usr/lib32:/opt/gentoo/lib32 -LD_MSG:error=158 -L/opt/gentoo/usr/lib32 -L/opt/gentoo/lib32 -woff1174,1183,1185,1552,3968,3970 -L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32 -cxx -woff 134 /usr/lib32/mips4/crt1.o /usr/lib32/c++init.o .libs/libmystrings.a .libs/strxmov.o .libs/bmove_upp.o .libs/strappend.o .libs/strcont.o .libs/strend.o .libs/strfill.o .libs/strcend.o .libs/is_prefix.o .libs/strstr.o .libs/strinstr.o .libs/strmake.o .libs/strnmov.o .libs/strmov.o .libs/longlong2str.o .libs/bfill.o .libs/bmove.o .libs/bmove512.o .libs/bchange.o .libs/strxnmov.o .libs/int2str.o .libs/str2int.o .libs/r_strinstr.o .libs/strtod.o .libs/bcmp.o .libs/strtol.o .libs/strtoul.o .libs/strtoll.o .libs/strtoull.o .libs/llstr.o .libs/strnlen.o .libs/ctype.o .libs/ctype-simple.o .libs/ctype-mb.o .libs/ctype-big5.o .libs/ctype-cp932.o .libs/ctype-czech.o .libs/ctype-eucjpms.o .libs/ctype-euc_kr.o .libs/ctype-gb2312.o .libs/ctype-gbk.o .libs/ctype-sjis.o .libs/ctype-tis620.o .libs/ctype-ujis.o .libs/ctype-utf8.o .libs/ctype-ucs2.o .libs/ctype-uca.o .libs/ctype-win1250ch.o .libs/ctype-bin.o .libs/ctype-latin1.o .libs/my_vsnprintf.o .libs/xml.o .libs/decimal.o .libs/ctype-extra.o .libs/my_strtoll10.o .libs/str_alloc.o -dont_warn_unused -lCsup -lC -lCio -Bdynamic -lc /usr/lib32/mips4/crtn.o -warn_unused
ld32: Mapped ===   /usr/lib32/mips4/crt1.o    ====   at address  0x4000000
ld32: 1: loading /usr/lib32/mips4/crt1.o.
ld32: Mapped ===   /usr/lib32/c++init.o    ====   at address  0x4004000
ld32: 2: loading /usr/lib32/c++init.o.
ld32: FATAL   9  : I/O error (.libs/libmystrings.a): No such file or directory
CC ERROR:  /usr/lib32/cmplrs/ld32 returned non-zero status 32
make[2]: *** [libmystrings.la] Error 2
make[2]: Leaving directory `/usr/opt/gentoo/var/tmp/portage/dev-db/mysql-5.0.84-r1/work/mysql/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/opt/gentoo/var/tmp/portage/dev-db/mysql-5.0.84-r1/work/mysql'
make: *** [all] Error 2
 * ERROR: dev-db/mysql-5.0.84-r1 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   51:  Called call-ebuildshell 'src_compile'
 *   environment, line  829:  Called src_compile
 *   environment, line 4315:  Called mysql_src_compile
 *   environment, line 3809:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";


... which appears to be because libtool mangles:

/opt/gentoo/bin/bash ../libtool --preserve-dup-deps --tag=CC   --mode=link cc  <...>  -o libmystrings.la   strxmov.lo bmove_upp.lo strappend.lo strcont.lo strend.lo strfill.lo strcend.lo is_prefix.lo strstr.lo strinstr.lo strmake.lo strnmov.lo strmov.lo longlong2str.lo bfill.lo bmove.lo bmove512.lo bchange.lo strxnmov.lo int2str.lo str2int.lo r_strinstr.lo strtod.lo bcmp.lo strtol.lo strtoul.lo strtoll.lo strtoull.lo llstr.lo strnlen.lo ctype.lo ctype-simple.l
o ctype-mb.lo ctype-big5.lo ctype-cp932.lo ctype-czech.lo ctype-eucjpms.lo ctype-euc_kr.lo ctype-gb2312.lo ctype-gbk.lo ctype-sjis.lo ctype-tis620.lo ctype-ujis.lo ctype-utf8.lo ctype-ucs2.lo ctype-uca.lo ctype-win1250ch.lo ctype-bin.lo ctype-latin1.lo my_vsnprintf.lo xml.lo decimal.lo ctype-extra.lo my_strtoll10.lo str_alloc.lo  -lpthread -lgen -lnsl -lm  -lpthread -lrt                 

... into:

CC .libs/libmystrings.a .libs/strxmov.o .libs/bmove_upp.o .libs/strappend.o .libs/strcont.o .libs/strend.o .libs/strfill.o .libs/strcend.o .libs/is_prefix.o .libs/strstr.o .libs/strinstr.o .libs/strmake.o .libs/strnmov.o .libs/strmov.o .libs/longlong2str.o .libs/bfill.o .libs/bmove.o .libs/bmove512.o .libs/bchange.o .libs/strxnmov.o .libs/int2str.o .libs/str2int.o .libs/r_strinstr.o .libs/strtod.o .libs/bcmp.o .libs/strtol.o .libs/strtoul.o .libs/strtoll.o .libs/strtoull.o .libs/llstr.o .libs/strnlen.o .libs/ctype.o .libs/ctype-simple.o .libs/ctype-mb.o .libs/ctype-big5.o .libs/ctype-cp932.o .libs/ctype-czech.o .libs/ctype-eucjpms.o .libs/ctype-euc_kr.o .libs/ctype-gb2312.o .libs/ctype-gbk.o .libs/ctype-sjis.o .libs/ctype-tis620.o .libs/ctype-ujis.o .libs/ctype-utf8.o .libs/ctype-ucs2.o .libs/ctype-uca.o .libs/ctype-win1250ch.o .libs/ctype-bin.o .libs/ctype-latin1.o .libs/my_vsnprintf.o .libs/xml.o .libs/decimal.o .libs/ctype-extra.o .libs/my_strtoll10.o .libs/str_alloc.o

... losing the "-o" option (and all of the "-l" options...) in the process.

I guess this isn't libtool's intended behaviour.
Comment 1 Stuart Shelton 2009-12-07 13:23:49 UTC
I've noticed other odd potential libtool  breakage too - If I don't build with  AR_FLAGS=" " then the build halts with:

libtool: compile: mv -f "str_alloc.o" ".libs/str_alloc.o"
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I/opt/gentoo/usr/include -DDBUG_OFF -c99 -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 -woff 1174,1183,1185,1552,3968,3970 -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing -n32 -c str_alloc.c -Wp,-MD,.deps/str_alloc.TPlo >/dev/null 2>&1
/opt/gentoo/bin/bash ../libtool --preserve-dup-deps --tag=CC   --mode=link cc  -DDBUG_OFF -c99 -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 -woff 1174,1183,1185,1552,3968,3970 -DHAVE_ERRNO_AS_DEFINE=1 -fno-strict-aliasing   -n32  -Wl,-s,-x,-n32,-mips4,-rdata_shared,-allow_jump_at_eop,-rpath,/opt/gentoo/usr/lib32:/opt/gentoo/lib32 -L/opt/gentoo/usr/lib32 -L/opt/gentoo/lib32  -o libmystrings.la   strxmov.lo bmove_upp.lo strappend.lo strcont.lo strend.lo strfill.lo strcend.lo is_prefix.lo strstr.lo strinstr.lo strmake.lo strnmov.lo strmov.lo longlong2str.lo bfill.lo bmove.lo bmove512.lo bchange.lo strxnmov.lo int2str.lo str2int.lo r_strinstr.lo strtod.lo bcmp.lo strtol.lo strtoul.lo strtoll.lo strtoull.lo llstr.lo strnlen.lo ctype.lo ctype-simple.lo ctype-mb.lo ctype-big5.lo ctype-cp932.lo ctype-czech.lo ctype-eucjpms.lo ctype-euc_kr.lo ctype-gb2312.lo ctype-gbk.lo ctype-sjis.lo ctype-tis620.lo ctype-ujis.lo ctype-utf8.lo ctype-ucs2.lo ctype-uca.lo ctype-win1250ch.lo ctype-bin.lo ctype-latin1.lo my_vsnprintf.lo xml.lo decimal.lo ctype-extra.lo my_strtoll10.lo str_alloc.lo  -lpthread -lgen -lnsl -lm  -lpthread -lrt  
libtool: link: CC cru .libs/libmystrings.a .libs/strxmov.o .libs/bmove_upp.o .libs/strappend.o .libs/strcont.o .libs/strend.o .libs/strfill.o .libs/strcend.o .libs/is_prefix.o .libs/strstr.o .libs/strinstr.o .libs/strmake.o .libs/strnmov.o .libs/strmov.o .libs/longlong2str.o .libs/bfill.o .libs/bmove.o .libs/bmove512.o .libs/bchange.o .libs/strxnmov.o .libs/int2str.o .libs/str2int.o .libs/r_strinstr.o .libs/strtod.o .libs/bcmp.o .libs/strtol.o .libs/strtoul.o .libs/strtoll.o .libs/strtoull.o .libs/llstr.o .libs/strnlen.o .libs/ctype.o .libs/ctype-simple.o .libs/ctype-mb.o .libs/ctype-big5.o .libs/ctype-cp932.o .libs/ctype-czech.o .libs/ctype-eucjpms.o .libs/ctype-euc_kr.o .libs/ctype-gb2312.o .libs/ctype-gbk.o .libs/ctype-sjis.o .libs/ctype-tis620.o .libs/ctype-ujis.o .libs/ctype-utf8.o .libs/ctype-ucs2.o .libs/ctype-uca.o .libs/ctype-win1250ch.o .libs/ctype-bin.o .libs/ctype-latin1.o .libs/my_vsnprintf.o .libs/xml.o .libs/decimal.o .libs/ctype-extra.o .libs/my_strtoll10.o .libs/str_alloc.o 
/bin/../../usr/lib32/cmplrs/CC -DEFAULT:abi=n32:isa=mips4:proc=r14000:platform=ip30:opt_lvl=2:arith=1 -O2 -n32 -mips4 cru .libs/libmystrings.a .libs/strxmov.o .libs/bmove_upp.o .libs/strappend.o .libs/strcont.o .libs/strend.o .libs/strfill.o .libs/strcend.o .libs/is_prefix.o .libs/strstr.o .libs/strinstr.o .libs/strmake.o .libs/strnmov.o .libs/strmov.o .libs/longlong2str.o .libs/bfill.o .libs/bmove.o .libs/bmove512.o .libs/bchange.o .libs/strxnmov.o .libs/int2str.o .libs/str2int.o .libs/r_strinstr.o .libs/strtod.o .libs/bcmp.o .libs/strtol.o .libs/strtoul.o .libs/strtoll.o .libs/strtoull.o .libs/llstr.o .libs/strnlen.o .libs/ctype.o .libs/ctype-simple.o .libs/ctype-mb.o .libs/ctype-big5.o .libs/ctype-cp932.o .libs/ctype-czech.o .libs/ctype-eucjpms.o .libs/ctype-euc_kr.o .libs/ctype-gb2312.o .libs/ctype-gbk.o .libs/ctype-sjis.o .libs/ctype-tis620.o .libs/ctype-ujis.o .libs/ctype-utf8.o .libs/ctype-ucs2.o .libs/ctype-uca.o .libs/ctype-win1250ch.o .libs/ctype-bin.o .libs/ctype-latin1.o .libs/my_vsnprintf.o .libs/xml.o .libs/decimal.o .libs/ctype-extra.o .libs/my_strtoll10.o .libs/str_alloc.o -TARG:isa=mips4:platform=ip30:processor=r14000 -r14000 -float_const -use_readonly_const -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 -show -Wl,-v -Wl,-s -Wl,-x -Wl,-n32 -Wl,-mips4 -Wl,-allow_jump_at_eop -Wl,-rpath,/opt/gentoo/usr/lib32:/opt/gentoo/lib32 -Wl,-LD_MSG:error=158 -L/opt/gentoo/usr/lib32 -L/opt/gentoo/lib32 -woff 1174,1183,1185,1552,3968,3970 -diag_error 1035,1999,3333 -FE:eliminate_duplicate_inline_copies:template_in_elf_section -I/opt/gentoo/usr/include
/usr/lib32/cmplrs/edg_prelink -Yu -fSGI -L/opt/gentoo/usr/lib32 -L/opt/gentoo/lib32 -L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32 cru .libs/libmystrings.a .libs/strxmov.o .libs/bmove_upp.o .libs/strappend.o .libs/strcont.o .libs/strend.o .libs/strfill.o .libs/strcend.o .libs/is_prefix.o .libs/strstr.o .libs/strinstr.o .libs/strmake.o .libs/strnmov.o .libs/strmov.o .libs/longlong2str.o .libs/bfill.o .libs/bmove.o .libs/bmove512.o .libs/bchange.o .libs/strxnmov.o .libs/int2str.o .libs/str2int.o .libs/r_strinstr.o .libs/strtod.o .libs/bcmp.o .libs/strtol.o .libs/strtoul.o .libs/strtoll.o .libs/strtoull.o .libs/llstr.o .libs/strnlen.o .libs/ctype.o .libs/ctype-simple.o .libs/ctype-mb.o .libs/ctype-big5.o .libs/ctype-cp932.o .libs/ctype-czech.o .libs/ctype-eucjpms.o .libs/ctype-euc_kr.o .libs/ctype-gb2312.o .libs/ctype-gbk.o .libs/ctype-sjis.o .libs/ctype-tis620.o .libs/ctype-ujis.o .libs/ctype-utf8.o .libs/ctype-ucs2.o .libs/ctype-uca.o .libs/ctype-win1250ch.o .libs/ctype-bin.o .libs/ctype-latin1.o .libs/my_vsnprintf.o .libs/xml.o .libs/decimal.o .libs/ctype-extra.o .libs/my_strtoll10.o .libs/str_alloc.o -lCsup -lC -lCio 
/usr/lib32/cmplrs/ld32 -call_shared -init _main -fini _fini -no_unresolved -transitive_link -demangle -elf -_SYSTYPE_SVR4 -LANG:std -OPT:IEEE_arith=1 -n32 -mips4 -OPT:fast_io=ON:Olimit=8192:reorg_common=ON:swp=ON -split_common -ivpad -LNO:auto_dist=ON:fusion_peeling_limit=8:gather_scatter=2 -show -v -s -x -n32 -mips4 -allow_jump_at_eop -rpath /opt/gentoo/usr/lib32:/opt/gentoo/lib32 -LD_MSG:error=158 -L/opt/gentoo/usr/lib32 -L/opt/gentoo/lib32 -woff1174,1183,1185,1552,3968,3970 -L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32 -cxx -woff 134 /usr/lib32/mips4/crt1.o /usr/lib32/c++init.o cru .libs/libmystrings.a .libs/strxmov.o .libs/bmove_upp.o .libs/strappend.o .libs/strcont.o .libs/strend.o .libs/strfill.o .libs/strcend.o .libs/is_prefix.o .libs/strstr.o .libs/strinstr.o .libs/strmake.o .libs/strnmov.o .libs/strmov.o .libs/longlong2str.o .libs/bfill.o .libs/bmove.o .libs/bmove512.o .libs/bchange.o .libs/strxnmov.o .libs/int2str.o .libs/str2int.o .libs/r_strinstr.o .libs/strtod.o .libs/bcmp.o .libs/strtol.o .libs/strtoul.o .libs/strtoll.o .libs/strtoull.o .libs/llstr.o .libs/strnlen.o .libs/ctype.o .libs/ctype-simple.o .libs/ctype-mb.o .libs/ctype-big5.o .libs/ctype-cp932.o .libs/ctype-czech.o .libs/ctype-eucjpms.o .libs/ctype-euc_kr.o .libs/ctype-gb2312.o .libs/ctype-gbk.o .libs/ctype-sjis.o .libs/ctype-tis620.o .libs/ctype-ujis.o .libs/ctype-utf8.o .libs/ctype-ucs2.o .libs/ctype-uca.o .libs/ctype-win1250ch.o .libs/ctype-bin.o .libs/ctype-latin1.o .libs/my_vsnprintf.o .libs/xml.o .libs/decimal.o .libs/ctype-extra.o .libs/my_strtoll10.o .libs/str_alloc.o -dont_warn_unused -lCsup -lC -lCio -Bdynamic -lc /usr/lib32/mips4/crtn.o -warn_unused 
ld32: Mapped ===   /usr/lib32/mips4/crt1.o    ====   at address  0x4000000 
ld32: 1: loading /usr/lib32/mips4/crt1.o.
ld32: Mapped ===   /usr/lib32/c++init.o    ====   at address  0x4004000 
ld32: 2: loading /usr/lib32/c++init.o.
ld32: FATAL   9  : I/O error (cru): No such file or directory
CC ERROR:  /usr/lib32/cmplrs/ld32 returned non-zero status 32
make[2]: *** [libmystrings.la] Error 2
make[2]: Leaving directory `/usr/opt/gentoo/var/tmp/portage/dev-db/mysql-5.0.84-r1/work/mysql/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/opt/gentoo/var/tmp/portage/dev-db/mysql-5.0.84-r1/work/mysql'
make: *** [all] Error 2
 * ERROR: dev-db/mysql-5.0.84-r1 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   51:  Called call-ebuildshell 'src_compile'
 *   environment, line  828:  Called src_compile
 *   environment, line 4314:  Called mysql_src_compile
 *   environment, line 3808:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";

... in about the same place.

(Note the use of unguarded 'ar' options 'cru')
Comment 2 Fabian Groffen gentoo-dev 2011-12-15 18:22:01 UTC
We are sorry to close this bug.  We lack the man-power and devotion to support mips-irix in the tree.