You receive this bug because this package does not respect my system's AR (x86_64-pc-linux-gnu-ar) and calls directly /usr/bin/ar The possible solutions to fix this issue are: 1)Fix the buildsystem, if you can; 2)inherit toolchain-funcs and use tc-export AR 3)inherit toolchain-funcs and use emake AR="$(tc-getAR)" From the build log: /usr/bin/ar cru libvex-amd64-linux.a libvex_amd64_linux_a-main_globals.o libvex_amd64_linux_a-main_main.o libvex_amd64_linux_a-main_util.o libvex_amd64_linux_a-ir_defs.o libvex_amd64_linux_a-ir_match.o libvex_amd64_linux_a-ir_opt.o libvex_amd64_linux_a-guest_generic_bb_to_IR.o libvex_amd64_linux_a-guest_generic_x87.o libvex_amd64_linux_a-guest_x86_helpers.o libvex_amd64_linux_a-guest_x86_toIR.o libvex_amd64_linux_a-guest_amd64_helpers.o libvex_amd64_linux_a-guest_amd64_toIR.o libvex_amd64_linux_a-guest_ppc_helpers.o libvex_amd64_linux_a-guest_ppc_toIR.o libvex_amd64_linux_a-guest_arm_helpers.o libvex_amd64_linux_a-guest_arm_toIR.o libvex_amd64_linux_a-guest_s390_helpers.o libvex_amd64_linux_a-guest_s390_toIR.o libvex_amd64_linux_a-guest_mips_helpers.o libvex_amd64_linux_a-guest_mips_toIR.o libvex_amd64_linux_a-host_generic_regs.o libvex_amd64_linux_a-host_generic_simd64.o libvex_amd64_linux_a-host_generic_simd128.o libvex_amd64_linux_a-host_generic_reg_alloc2.o libvex_amd64_linux_a-host_x86_defs.o libvex_amd64_linux_a-host_x86_isel.o libvex_amd64_linux_a-host_amd64_defs.o libvex_amd64_linux_a-host_amd64_isel.o libvex_amd64_linux_a-host_ppc_defs.o libvex_amd64_linux_a-host_ppc_isel.o libvex_amd64_linux_a-host_arm_defs.o libvex_amd64_linux_a-host_arm_isel.o libvex_amd64_linux_a-host_s390_defs.o libvex_amd64_linux_a-host_s390_isel.o libvex_amd64_linux_a-host_s390_disasm.o libvex_amd64_linux_a-host_mips_defs.o libvex_amd64_linux_a-host_mips_isel.o
Created attachment 349232 [details, diff] valgrind-3.8.1.patch I've add tc-export AR to src_confiugre(). This fixes the issue for me.
(In reply to Michael Mair-Keimberger (iamnr3) from comment #1) > Created attachment 349232 [details, diff] [details, diff] > valgrind-3.8.1.patch > > I've add tc-export AR to src_confiugre(). This fixes the issue for me. Thanks Michael. This is a safe change so I added it directly to 3.8.1.