PostgreSQL 9.0 alpha 4: build issues with OpenSSL 1.0.0-beta5 - Mailing list pgsql-testers

From Lou Picciano
Subject PostgreSQL 9.0 alpha 4: build issues with OpenSSL 1.0.0-beta5
Date
Msg-id 632370359.8843171267058364678.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net
Whole thread Raw
List pgsql-testers
Gents,

Have a build with OpenSSL 0.9.8l.  Rigorous testing to follow...

Meanwhile, on a lark, tried to build against OpenSSL 1.0.0 beta5. config runs without incident.  However, make generates:

# make
(in backend/parser section:)
In file included from gram.y:11791:
scan.c: In function `yy_try_NUL_trans':
scan.c:16243: warning: unused variable `yyg'

- THEN:
gcc -O2 (...) -o libpq.so.5.3
Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown>                           0x1654      /usr/local/openssl-100b5/lib/libssl.a(t1_enc.o)
<unknown>                           0x1658      /usr/local/openssl-100b5/lib/libssl.a(t1_enc.o)
… (hundreds more)
__umoddi3                           0x64        /usr/local/openssl-100b5/lib/libcrypto.a(bn_word.o)
__umoddi3                           0xac        /usr/local/openssl-100b5/lib/libcrypto.a(b_print.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[3]: *** [libpq.so.5.3] Error 1

Don't know if this is a build bug, or if I have a platform mismatch (thought we were careful to build OpenSSL v1.0.0.0-beta 5 with 32-bit libs; perhaps not?)

Lou

pgsql-testers by date:

Previous
From: Lou Picciano
Date:
Subject: Re: Postgres 9.0alpha4?
Next
From: Lou Picciano
Date:
Subject: PostgreSQL 9.0 alpha 4: build issues - modules - with OpenSSL 0.9.8l