Re: Help with odd linking error...

Viktor Dukhovni <[email protected]> Mon, 6 Apr 2026 15:50:20 +1000
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <[email protected]>
On Sun, Apr 05, 2026 at 10:04:52PM -0500, Jeffrey Bromberger wrote:

> /opt/local64/bin/gcc -fPIC -m64 -mcpu=3Dultrasparc -Wa,--noexecstack
> -mcpu=3Dultrasparc -Wl,-z,defs -shared -static-libgcc -shared -Wl,-Bsymbo=
lic
>  -mcpu=3Dultrasparc -lrt \
>         -o test/p_minimal.so -Wl,--version-script=3Dtest/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
>=20
> Anonymous Version Tag?  And it's ld that is complaining, not the compiler=
!

Look at "test/p_minimal.ld".  Mind you, this failed when building tests,
and this point all the code you actually care about should/may be already
built, if all else fails, you could wing it, and ignore the tests...

--=20
    Viktor.  =F0=9F=87=BA=F0=9F=87=A6 =D0=A1=D0=BB=D0=B0=D0=B2=D0=B0 =D0=A3=
=D0=BA=D1=80=D0=B0=D1=97=D0=BD=D1=96!

--=20
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 e=
mail to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org
To view this discussion visit https://groups.google.com/a/openssl.org/d/msg=
id/openssl-users/adNJnJQZM405k3Rp%40chardros.imrryr.org.