After applying that patches error message is the same.
ld -V:
ld: Software Generation Utilities - Solaris Link Editors: 5.8-1.275
btw gcc --version 2.95.2, maybe problem is with gcc ?
-i-
----- Original Message -----
From: "David McCabe" <[EMAIL PROTECTED]>
To: "Ihor Bilyy" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 3:11 PM
Subject: Re: -Wl,-E
> Ihor Bilyy wrote:
> >
> > Hello!
> >
> > I can't build apache 1.3.26 with mod_perl 1.27 on Solaris 2.8
> > I use:
>
> > /usr/ccs/bin/ld: illegal option -- E
> > usage: ld [-abc:d:e:f:h:il:mo:p:rstu:z:B:D:F:GI:L:M:N:P:Q:R:S:VY:]
file(s)
>
> Sun put out a patch to their linker (ld) that breaks the Configure script
for
> perl. It checks for a specific info string output from the ld command, and
> decides from that if you are using Sun's ld, or the Gnu ld. Since that
patch
> changes the output of the ld command's info string, Configure thinks you
are
> using Gnu's ld, and hence sets up the Gnu ld options to pass to Sun's ld.
> Obviously, this doesn't work. Sun has since fixed it, by another patch
that puts
> back the old info string in their ld.
>
> The patch to ld that broke this is 109147-14. The 109147-16 patch fixes it
> again.
>
> Update these Solaris patches and your problem should go away. :)
>
> --
> David McCabe Network and Communications Services, McGill University
> Montreal, Quebec, Canada [EMAIL PROTECTED]
> In theory there is no difference between theory and practice.
> In practice there is. -Yogi Berra
----------------------------------------------------------------------------
----
> *** perl-5.6.1/hints/solaris_2.sh Thu Jan 31 13:55:18 2002
> --- perl-5.6.1/hints/solaris_2.sh.orig Fri Jan 25 19:56:05 2002
> ***************
> *** 199,209 ****
> # egcs-1.0.3, GNU as 2.9.1 and GNU ld 2.9.1
> # --Andy Dougherty <[EMAIL PROTECTED]>
> # Tue Apr 13 17:19:43 EDT 1999
> - # Patch 109147-14 for Solaris 8 (and probably same patch on other
> - # versions, the Link Patch) changes a string that is output by ld and
> - # checked for here. I added another elsif block to test for the new
string.
> - # David McCabe <[EMAIL PROTECTED]>
> - # Friday Jan 25 20:02:00 EDT 2002
>
> # Get gcc to share its secrets.
> echo 'main() { return 0; }' > try.c
> --- 199,204 ----
> ***************
> *** 244,252 ****
> # All Solaris versions of ld I've seen contain the magic
> # string used in the grep.
> :
> - # NEW BLOCK FOR SOLARIS LINK PATCH - exception to above comment :)
> - elif echo "$verbose" | grep "ld: Solaris Link Editors:" >/dev/null
2>&1; then
> - :
> else
> # No evidence yet of /usr/ccs/bin/ld. Some versions
> # of egcs's ld wrapper call /usr/ccs/bin/ld in turn but
> --- 239,244 ----
>