pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/28671: py-qt3-sip on Solaris and ld: fatal: relocations remain against allocatable but non-writable



>Number:         28671
>Category:       pkg
>Synopsis:       py-qt3-sip on Solaris and ld: fatal: relocations remain 
>against allocatable but non-writable
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 15 19:29:00 +0000 2004
>Originator:     reed%reedmedia.net@localhost
>Release:        pkgsrc-current
>Organization:
http://bsd.reedmedia.net/
>Environment:
        
        
System: SunOS 5.9 Generic_117171-02 sun4u sparc SUNW,Ultra-5_10
Architecture: sparc
Machine: sun4u
>Description:
Building py-qt3-sip under Solaris is failing with:

Text relocation remains                         referenced
    against symbol                  offset      in file
PyEval_CallObjectWithKeywords       0x654       qtlib.o
PyMethod_New                        0x5ac       qtlib.o
sipGetRx                            0x11ec      qtlib.o
sipGetRx                            0x125c      qtlib.o
sip_api_malloc                      0xc14       qtlib.o
...
PyErr_Print                         0x498       qtlib.o
QObject::connect(QObject const*, char const*, QObject const*, char
const*)0x1078
QObject::connect(QObject const*, char const*, QObject const*, char
const*)0x1154
        qtlib.o
QObject::disconnect(QObject const*, char const*, QObject const*, char
const*)0x1
2ec     qtlib.o
PyErr_Restore                       0x970       qtlib.o
...
PyCFunction_Type                    0x13c0      qtlib.o
PyWeakref_GetObject                 0x530       qtlib.o
PyErr_GivenExceptionMatches         0x7d0       qtlib.o
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
gmake[1]: *** [sip.so] Error 1
gmake[1]: Leaving directory
`/usr/local/pkgwork/x11/py-qt3-sip/work/sip-4.0rc3/siplib'


The end of of my .work.log has:

<.> /usr/local/pkgwork/x11/py-qt3-sip/work/.gcc/bin/g++
-Wl,-R/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.4
-Wl,-R/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/lib/python2p3/config
-Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/openwin/lib -shared
-o sip.so siplib.o qtlib.o threads.o objmap.o
-L/usr/local/pkgwork/x11/py-qt3-sip/work/.buildlink/gcc3/lib/gcc-lib/s
parc-sun-solaris2/3.3.4
-L/usr/local/pkgwork/x11/py-qt3-sip/work/.buildlink/gcc3/lib
-L/usr/local/pkgwork/x11/py-qt3-sip/work/.buildlink/lib
-L/usr/local/pkgwork/x11/py-qt3-sip/work/.buildlink/lib/python2p3/conf
ig
-L/usr/pkg/qt3/lib
-L/usr/local/pkgwork/x11/py-qt3-sip/work/.x11-buildlink/lib
-L/usr/local/pkgwork/x11/py-qt3-sip/work/.buildlink/gcc3/bin/../lib/gc
c-lib/sparc-sun-solaris2/3.3.4
-I/usr/local/pkgwork/x11/py-qt3-sip/work/.buildlink/include
-lqt-mt -lpng -lz -lGL -lXmu -lXcursor -lXrender -lXfixes -lICE -lSM
-lstdc++ -lXext -lX11 -lm -lresolv -lsocket -lnsl -lpthread -lrt

The system is a SunOS 5.9 Generic_117171-02 sparc SUNW,Ultra-5_10.
It has no native c or c++ compilers.

It has gcc and g++ 3.3.4 installed from pkgsrc package.

>How-To-Repeat:
Use gcc from pkgsrc and build pkgsrc/x11/py-qt3-sip under SunOS 5.9.
>Fix:
        

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index