[pkg-firebird-general] sparc64 build issue

Damyan Ivanov dmn at debian.org
Sat Sep 25 12:20:31 UTC 2010


-=| Damyan Ivanov, Wed, Sep 22, 2010 at 04:16:00PM +0300 |=-
> -=| marius adrian popa, Wed, Sep 22, 2010 at 11:24:32AM +0300 |=-
> > I saw this error on sparc ../src/include/types_pub.h:88: error:
> > conflicting declaration 'typedef int ISC_LONG'
> > http://buildd.debian-ports.org/status/package.php?p=firebird2.5
> > http://buildd.debian-ports.org/fetch.php?pkg=firebird2.5&arch=sparc64&ver=2.5.0.26054~ReleaseCandidate3.ds2-1&stamp=1282831427&file=log&as=raw
> > I did  a little bit of google and here how can it be solved
> > 
> > http://paulbeachsblog.blogspot.com/2009/06/srcincludetypespubh88-error-conflicting.html
> 
> 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.

There are no[1] porter machines running sparc64 userland, so I guess 
I'll just upload to experimental and wait for the buildd to fail (or 
not).

    [1] http://lists.debian.org/debian-sparc/2010/09/msg00016.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-firebird-general/attachments/20100925/941d1167/attachment.pgp>


More information about the pkg-firebird-general mailing list