Help with odd linking error...
Jeffrey Bromberger <[email protected]> Sun, 5 Apr 2026 22:04:52 -0500
| Newsgroups | gmane.comp.encryption.openssl.user |
|---|---|
| Message-ID | <CAO6mv7bPnXS7up7oJ4EZuc2G48=OcpLE0bFCbRdxT4+Z9B7+FA@mail.gmail.com> |
--000000000000da1949064ec1ee53
Content-Type: text/plain; charset="UTF-8"
I'm a Wild and Crazy Retro Guy trying to get OpenSSL 3.6.1 to run on
Solaris 8 (64-bit SPARC). I am using GCC 4.7.4 and it is backed up with
BINUTILS, which is the GNU Assembler and the GNU Loader, both at Version
2.24. This seems to be extremely stable for me, as everything else I build
with it seems to be bulletproof.
When I try to build 3,6,1 with tests enabled, I get this (unknown to me)
error:
/opt/local64/bin/gcc -Iinclude -I. -I../include -I.. -fPIC -m64
-mcpu=ultrasparc -Wa,--noexecstack -mcpu=ultrasparc
-DOPENSSL_BUILDING_OPENSSL -DNDEBUG -D__EXTENSIONS__ -MMD -MF
test/p_minimal-dso-p_minimal.d.tmp -c -o test/p_minimal-dso-p_minimal.o
../test/p_minimal.c
perl ../util/mkdef.pl --type dso --ordinals ../util/providers.num --name
test/p_minimal --OS solaris-gcc > test/p_minimal.ld
/opt/local64/bin/gcc -fPIC -m64 -mcpu=ultrasparc -Wa,--noexecstack
-mcpu=ultrasparc -Wl,-z,defs -shared -static-libgcc -shared -Wl,-Bsymbolic
-mcpu=ultrasparc -lrt \
-o test/p_minimal.so -Wl,--version-script=test/p_minimal.ld \
test/p_minimal-dso-p_minimal.o \
-lsocket -lnsl -ldl
/opt/local64/lib/gcc/sparc64-sun-solaris2.8/4.7.4/../../../../sparc64-sun-solaris2.8/bin/ld:
anonymous version tag cannot be combined with other version tags
collect2: error: ld returned 1 exit status
make[1]: *** [test/p_minimal.so] Error 1
Anonymous Version Tag? And it's ld that is complaining, not the compiler!
I know that I can build things with tests disabled, but I would like to run
the suite and make sure that what was built turns out to be correct.
Looking for any pointers as to what causes this obscure error and how I
might manage to get past it.
Thanks in advance!
j
--
Jeffrey L. Bromberger
[email protected]
--
You received this message because you are subscribed to the Google Groups "openssl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/CAO6mv7bPnXS7up7oJ4EZuc2G48%3DOcpLE0bFCbRdxT4%2BZ9B7%2BFA%40mail.gmail.com.
--000000000000da1949064ec1ee53
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>I'm a Wild and Crazy Retro Guy trying to get Open=
SSL 3.6.1 to run on Solaris 8 (64-bit SPARC).=C2=A0 I am using GCC 4.7.4 an=
d it is backed up with BINUTILS, which is the GNU Assembler and the GNU Loa=
der, both at Version 2.24.=C2=A0 This seems to be extremely stable for me, =
as everything else I build with it seems to be bulletproof.<br><br>When I t=
ry to build 3,6,1 with tests enabled, I get this (unknown to me) error:<br>=
/opt/local64/bin/gcc =C2=A0-Iinclude -I. -I../include -I.. =C2=A0-fPIC -m64=
-mcpu=3Dultrasparc -Wa,--noexecstack -mcpu=3Dultrasparc -DOPENSSL_BUILDING=
_OPENSSL -DNDEBUG -D__EXTENSIONS__ -MMD -MF test/p_minimal-dso-p_minimal.d.=
tmp -c -o test/p_minimal-dso-p_minimal.o ../test/p_minimal.c<br>perl ../uti=
l/<a href=3D"http://mkdef.pl">mkdef.pl</a> --type dso --ordinals ../util/pr=
oviders.num =C2=A0--name test/p_minimal --OS solaris-gcc > test/p_minima=
l.ld<br>/opt/local64/bin/gcc -fPIC -m64 -mcpu=3Dultrasparc -Wa,--noexecstac=
k -mcpu=3Dultrasparc -Wl,-z,defs -shared -static-libgcc -shared -Wl,-Bsymbo=
lic =C2=A0-mcpu=3Dultrasparc -lrt \<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 -o test/=
p_minimal.so -Wl,--version-script=3Dtest/p_minimal.ld \<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 test/p_minimal-dso-p_minimal.o \<br>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 -lsocket -lnsl -ldl<br>/opt/local64/lib/gcc/sparc64-sun-solaris2.8/4.7.=
4/../../../../sparc64-sun-solaris2.8/bin/ld: anonymous version tag cannot b=
e combined with other version tags<br>collect2: error: ld returned 1 exit s=
tatus<br>make[1]: *** [test/p_minimal.so] Error 1<br></div><div><br></div><=
div>Anonymous Version Tag?=C2=A0 And it's ld that is complaining, not t=
he compiler!</div><div><br></div><div>I know that I can build things with t=
ests disabled, but I would like to run the suite and make sure that what wa=
s built turns out to be correct.</div><div><br></div><div>Looking for any p=
ointers as to what causes this obscure error and how I might manage to get =
past it.</div><div><br></div><div>Thanks in advance!</div><div><br></div><d=
iv>j</div><span class=3D"gmail_signature_prefix">-- </span><br><div dir=3D"=
ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=
=3D"ltr">Jeffrey L. Bromberger<div><a href=3D"mailto:[email protected]"=
target=3D"_blank">[email protected]</a></div></div></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;openssl-users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:openssl-users+unsubscribe-MCmKBN63+BlAfugRpC6u6w@public.gmane.org">openssl-us=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/a/openss=
l.org/d/msgid/openssl-users/CAO6mv7bPnXS7up7oJ4EZuc2G48%3DOcpLE0bFCbRdxT4%2=
BZ9B7%2BFA%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">https:/=
/groups.google.com/a/openssl.org/d/msgid/openssl-users/CAO6mv7bPnXS7up7oJ4E=
Zuc2G48%3DOcpLE0bFCbRdxT4%2BZ9B7%2BFA%40mail.gmail.com</a>.<br />
--000000000000da1949064ec1ee53--