Subject: Re: Build problems for liboil on netbsd-macppc
To: None <pkgsrc-users@NetBSD.org, marco_righele@yahoo.it>
From: David H. GUTTERIDGE <dhgutteridge@sympatico.ca>
List: pkgsrc-users
Date: 09/23/2006 03:43:25
>In any case, I think it's a bug in liboil, given that the -maltivec flag is
>added during the altivec test, but not during the build phase, or am I
>wrong?
>I have somehow resolved the relocation issues that I described earlier
>(Unsupported relocation type 10 in non-PLT relocations). There are only a
>couple of functions that use that type of relocation, and they are both
>assembler-optimized-altivec-version of memcpy and memset, so I axed them
>out,
>and got rid of those messages.
>While the fix is pretty small (a line changed in a Makefile.am) it involves
>rerunning automake. How should this be handled, making a big patch for all
>the
>files changed after the rerun of automake ?
>(I know this is not exactly 'fixing' the problem, but it's what I can do
>for
>now, at least until I can get some advice from someone more expert, maybe
>on
>the liboil ml ).
>Marco
This problem was reported to the liboil mailing list:
http://lists.freedesktop.org/archives/liboil/2006-June/000096.html
http://lists.freedesktop.org/archives/liboil/2006-June/000097.html
I later opened a bug report for it:
https://bugs.freedesktop.org/show_bug.cgi?id=7900
A related problem is that liboil seems to assume if it's compiling for
PowerPC
it's safe to employ Altivec instructions In my case, I'm running an old
iBook
SE with a G3 processor that doesn't support Alivec instructions, yet liboil
still tries to compile them in.
Regards,
Dave