[pkg-firebird-general] sparc64 build issue

philippe makowski makowski at firebird-fr.eu.org
Wed Sep 22 15:30:24 UTC 2010


2010/9/22 Damyan Ivanov <dmn at debian.org>:

> To me it seems this solution is just a workaround. The problem is that
> configure.in uses prefix.linux_sparc32 for "sparc*" (32/64-bit) and
> that uses -m32 unconditionally.
>
> I guess just dropping -m32 would help, assuming the compiler chooses
> the right platform when running on 32/64-bit userland. Then
> prefix.linux_sparc32 can be renamed to prefix.linux_sparc
>
> Another approach would be to clone prefix.linux_sparc32 to
> prefix.linux_sparc64, replacing -m32 with -m64 and then to add another
> stanza in configure.in that detects sparc64 and uses
> prefix.linux_sparc64 for that.
>
> I'll try the first approach on porter machines.
yes in Fedora we have this :
%ifarch sparc64
 sed     "s at COMMON_FLAGS=-m32 at COMMON_FLAGS=-m64@"        -i
./gen/make.platform
%endif



More information about the pkg-firebird-general mailing list