Subject: pkg/32560: pkgtools/x11-links Solaris10 ABI 64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 01/18/2006 09:55:01
>Number:         32560
>Category:       pkg
>Synopsis:       pkgtools/x11-links Solaris10 ABI 64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 18 09:55:01 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_118844-20 i86pc


>Description:



I try to compile some pkgsrc packages with a 64bits gcc compiler
on an AMD opteron.
I have problem with X11 packages that links with the 32bits ABI openwin.








>How-To-Repeat:





>Fix:


I set   OPENWINABI=64 in mk.conf

and patch pkgtools/x11-links/openwin.mk
and create 
     pkgtools/x11-links/files/openwin.510.32
     pkgtools/x11-links/files/openwin.510.64
     pkgtools/x11-links/files/openwin.510.common
     

Get those files in
http://perso.enst.fr/~dauphin/pkgsrc/patches/

Maybe OPENWINABI is wrong and ABI=64 is enought
that's just a test for me.

Gilles