This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mmokrejs
Recipients mmokrejs
Date 2008-07-02.23:12:01
SpamBayes Score 0.06693098
Marked as misclassified No
Message-id <1215040322.48.0.501787907219.issue3264@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,
  although the issues libraries to be created with -fpic are known I
still do believe ./config could do something here:

building 'crypt' extension
gcc -shared -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes
build/temp.solaris-2.6-sun4u-2.5/usr/scratch/Python-2.5.2/Modules/cryptmodule.o
-L/usr/local/lib -lcrypt -o build/lib.solaris-2.6-sun4u-2.5/crypt.so
Text relocation remains                         referenced
    against symbol                  offset      in file
_des_setkey                         0x4         /usr/lib/libcrypt.a(crypt.o)
_des_encrypt                        0x10        /usr/lib/libcrypt.a(crypt.o)
_des_crypt                          0x1c        /usr/lib/libcrypt.a(crypt.o)
<unknown>                           0x4        
/usr/lib/libcrypt.a(des_crypt.o)
<unknown>                           0x8        
/usr/lib/libcrypt.a(des_crypt.o)
...
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
# gcc -shared -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes
build/temp.solaris-2.6-sun4u-2.5/usr/scratch/Python-2.5.2/Modules/cryptmodule.o
-L/usr/local/lib -lcrypto -o build/lib.solaris-2.6-sun4u-2.5/crypt.so
#
History
Date User Action Args
2008-07-02 23:12:02mmokrejssetspambayes_score: 0.066931 -> 0.06693098
recipients: + mmokrejs
2008-07-02 23:12:02mmokrejssetspambayes_score: 0.066931 -> 0.066931
messageid: <1215040322.48.0.501787907219.issue3264@psf.upfronthosting.co.za>
2008-07-02 23:12:01mmokrejslinkissue3264 messages
2008-07-02 23:12:01mmokrejscreate