* Re: GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry)
1999-08-28 16:48 ` GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry) Russ Allbery
@ 1999-08-28 17:07 ` H.J. Lu
1999-08-30 3:42 ` Gerald Pfeifer
1999-08-31 23:20 ` H.J. Lu
1999-08-30 2:51 ` Gerald Pfeifer
` (3 subsequent siblings)
4 siblings, 2 replies; 24+ messages in thread
From: H.J. Lu @ 1999-08-28 17:07 UTC (permalink / raw)
To: Russ Allbery; +Cc: Gerald Pfeifer, gcc
>
> Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
>
> > 5. Has someone experiencing these problems already submitted bug reports
> > to the binutils developers resp. Sun?
>
> I haven't, under the assumption that the hint file entry in Perl saying
> that GNU ld wouldn't work meant that this was a known problem. If people
> think it would help, I can try it again in a few days and put together a
> fuller problem report. Perl makes extensive use of dynamically loaded
> modules, and the symptom that I was seeing was that when all of Perl was
> linked with GNU ld, it couldn't load the dynamic modules that it had just
> built.
>
There are known bugs in binutils 2.9.1 on Solaris/Sparc. Quite a few
Solaris/Sparc bugs have been fixed in binutils in cvs.
--
H.J. Lu (hjl@gnu.org)
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry)
1999-08-28 17:07 ` H.J. Lu
@ 1999-08-30 3:42 ` Gerald Pfeifer
1999-08-31 23:20 ` Gerald Pfeifer
1999-08-31 23:20 ` H.J. Lu
1 sibling, 1 reply; 24+ messages in thread
From: Gerald Pfeifer @ 1999-08-30 3:42 UTC (permalink / raw)
To: H.J. Lu; +Cc: Russ Allbery, gcc, gcc-patches
On Sat, 28 Aug 1999, H.J. Lu wrote:
> There are known bugs in binutils 2.9.1 on Solaris/Sparc. Quite a few
> Solaris/Sparc bugs have been fixed in binutils in cvs.
Thanks, HJ! I haved installed the patch below; it would be great if
someone would drop us a note once binutils have fixed these bugs in
an "official" release.
Gerald
Index: specific.html
===================================================================
RCS file: /egcs/carton/cvsfiles/wwwdocs/htdocs/install/specific.html,v
retrieving revision 1.45
diff -r1.45 specific.html
26a27
> <li><a href="#sparc-sun-solaris*">sparc-sun-solaris*</a></li>
444a446,452
> <h3><a name="sparc-sun-solaris*">sparc-sun-solaris*</a></h3>
>
> <p>binutils 2.9.1 has known bugs on this platform. We recommend to use the
> vendor tools (Sun as, Sun ld) until these have been fixed.</p>
>
>
> <hr>
501c509
< <p><i>Last modified on August 27, 1999.</i></p>
---
> <p><i>Last modified on August 30, 1999.</i></p>
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry)
1999-08-30 3:42 ` Gerald Pfeifer
@ 1999-08-31 23:20 ` Gerald Pfeifer
0 siblings, 0 replies; 24+ messages in thread
From: Gerald Pfeifer @ 1999-08-31 23:20 UTC (permalink / raw)
To: H.J. Lu; +Cc: Russ Allbery, gcc, gcc-patches
On Sat, 28 Aug 1999, H.J. Lu wrote:
> There are known bugs in binutils 2.9.1 on Solaris/Sparc. Quite a few
> Solaris/Sparc bugs have been fixed in binutils in cvs.
Thanks, HJ! I haved installed the patch below; it would be great if
someone would drop us a note once binutils have fixed these bugs in
an "official" release.
Gerald
Index: specific.html
===================================================================
RCS file: /egcs/carton/cvsfiles/wwwdocs/htdocs/install/specific.html,v
retrieving revision 1.45
diff -r1.45 specific.html
26a27
> <li><a href="#sparc-sun-solaris*">sparc-sun-solaris*</a></li>
444a446,452
> <h3><a name="sparc-sun-solaris*">sparc-sun-solaris*</a></h3>
>
> <p>binutils 2.9.1 has known bugs on this platform. We recommend to use the
> vendor tools (Sun as, Sun ld) until these have been fixed.</p>
>
>
> <hr>
501c509
< <p><i>Last modified on August 27, 1999.</i></p>
---
> <p><i>Last modified on August 30, 1999.</i></p>
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry)
1999-08-28 17:07 ` H.J. Lu
1999-08-30 3:42 ` Gerald Pfeifer
@ 1999-08-31 23:20 ` H.J. Lu
1 sibling, 0 replies; 24+ messages in thread
From: H.J. Lu @ 1999-08-31 23:20 UTC (permalink / raw)
To: Russ Allbery; +Cc: pfeifer
>
> Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
>
> > 5. Has someone experiencing these problems already submitted bug reports
> > to the binutils developers resp. Sun?
>
> I haven't, under the assumption that the hint file entry in Perl saying
> that GNU ld wouldn't work meant that this was a known problem. If people
> think it would help, I can try it again in a few days and put together a
> fuller problem report. Perl makes extensive use of dynamically loaded
> modules, and the symptom that I was seeing was that when all of Perl was
> linked with GNU ld, it couldn't load the dynamic modules that it had just
> built.
>
There are known bugs in binutils 2.9.1 on Solaris/Sparc. Quite a few
Solaris/Sparc bugs have been fixed in binutils in cvs.
--
H.J. Lu (hjl@gnu.org)
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry)
1999-08-28 16:48 ` GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry) Russ Allbery
1999-08-28 17:07 ` H.J. Lu
@ 1999-08-30 2:51 ` Gerald Pfeifer
1999-08-30 3:08 ` Russ Allbery
1999-08-31 23:20 ` Gerald Pfeifer
1999-08-30 9:29 ` Nick Ing-Simmons
` (2 subsequent siblings)
4 siblings, 2 replies; 24+ messages in thread
From: Gerald Pfeifer @ 1999-08-30 2:51 UTC (permalink / raw)
To: Russ Allbery; +Cc: gcc
On 28 Aug 1999, Russ Allbery wrote:
>> 5. Has someone experiencing these problems already submitted bug reports
>> to the binutils developers resp. Sun?
> I haven't, under the assumption that the hint file entry in Perl saying
> that GNU ld wouldn't work meant that this was a known problem.
It might be the case that there were a couple of bugs, so providing some
new feedback that it still does not work could prove rather useful.
> If people think it would help, I can try it again in a few days and
> put together a fuller problem report. Perl makes extensive use of
> dynamically loaded modules, and the symptom that I was seeing was that
> when all of Perl was linked with GNU ld, it couldn't load the dynamic
> modules that it had just built.
HJ Lu mentioned that the CVS versions of binutils have a couple of
SPARC-related issues fixed, perhaps you can give that a try?
(I don't have the URL, but I am sure someone on this list will provide
it.)
Thanks,
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry)
1999-08-30 2:51 ` Gerald Pfeifer
@ 1999-08-30 3:08 ` Russ Allbery
1999-08-31 23:20 ` Russ Allbery
1999-08-31 23:20 ` Gerald Pfeifer
1 sibling, 1 reply; 24+ messages in thread
From: Russ Allbery @ 1999-08-30 3:08 UTC (permalink / raw)
To: Gerald Pfeifer; +Cc: gcc
Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
> On 28 Aug 1999, Russ Allbery wrote:
>>> 5. Has someone experiencing these problems already submitted bug
>>> reports to the binutils developers resp. Sun?
>> I haven't, under the assumption that the hint file entry in Perl saying
>> that GNU ld wouldn't work meant that this was a known problem.
> It might be the case that there were a couple of bugs, so providing some
> new feedback that it still does not work could prove rather useful.
Oh, thanks for following up, I might have forgotten to mention.
Since the last message, I sent in some patches to Perl so that it would
correctly detect what ld gcc 2.95.1 was using, and ended up looking at the
hints file in the development version of Perl. Turns out that the problem
these days with GNU ld isn't a bug but rather a difference in behavior
between Solaris ld and GNU ld in how they add symbols to the dynamic
symbol table. Passing -E to GNU ld is rumored to allow Perl to build
correctly.
(It's getting to be a full-time job just updating one's mental map of what
software packages work where!)
I've since moved on to other projects and probably won't have the time to
go back and check with GNU ld in the near future, but based on that (and
the report of Solaris fixes in the CVS tree), I'll give GNU ld another
shot on Solaris the next time I rebuild binutils and gcc.
--
Russ Allbery (rra@stanford.edu) <URL: http://www.eyrie.org/~eagle/ >
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry)
1999-08-30 3:08 ` Russ Allbery
@ 1999-08-31 23:20 ` Russ Allbery
0 siblings, 0 replies; 24+ messages in thread
From: Russ Allbery @ 1999-08-31 23:20 UTC (permalink / raw)
To: Gerald Pfeifer; +Cc: gcc
Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
> On 28 Aug 1999, Russ Allbery wrote:
>>> 5. Has someone experiencing these problems already submitted bug
>>> reports to the binutils developers resp. Sun?
>> I haven't, under the assumption that the hint file entry in Perl saying
>> that GNU ld wouldn't work meant that this was a known problem.
> It might be the case that there were a couple of bugs, so providing some
> new feedback that it still does not work could prove rather useful.
Oh, thanks for following up, I might have forgotten to mention.
Since the last message, I sent in some patches to Perl so that it would
correctly detect what ld gcc 2.95.1 was using, and ended up looking at the
hints file in the development version of Perl. Turns out that the problem
these days with GNU ld isn't a bug but rather a difference in behavior
between Solaris ld and GNU ld in how they add symbols to the dynamic
symbol table. Passing -E to GNU ld is rumored to allow Perl to build
correctly.
(It's getting to be a full-time job just updating one's mental map of what
software packages work where!)
I've since moved on to other projects and probably won't have the time to
go back and check with GNU ld in the near future, but based on that (and
the report of Solaris fixes in the CVS tree), I'll give GNU ld another
shot on Solaris the next time I rebuild binutils and gcc.
--
Russ Allbery (rra@stanford.edu) <URL: http://www.eyrie.org/~eagle/ >
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry)
1999-08-30 2:51 ` Gerald Pfeifer
1999-08-30 3:08 ` Russ Allbery
@ 1999-08-31 23:20 ` Gerald Pfeifer
1 sibling, 0 replies; 24+ messages in thread
From: Gerald Pfeifer @ 1999-08-31 23:20 UTC (permalink / raw)
To: Russ Allbery; +Cc: gcc
On 28 Aug 1999, Russ Allbery wrote:
>> 5. Has someone experiencing these problems already submitted bug reports
>> to the binutils developers resp. Sun?
> I haven't, under the assumption that the hint file entry in Perl saying
> that GNU ld wouldn't work meant that this was a known problem.
It might be the case that there were a couple of bugs, so providing some
new feedback that it still does not work could prove rather useful.
> If people think it would help, I can try it again in a few days and
> put together a fuller problem report. Perl makes extensive use of
> dynamically loaded modules, and the symptom that I was seeing was that
> when all of Perl was linked with GNU ld, it couldn't load the dynamic
> modules that it had just built.
HJ Lu mentioned that the CVS versions of binutils have a couple of
SPARC-related issues fixed, perhaps you can give that a try?
(I don't have the URL, but I am sure someone on this list will provide
it.)
Thanks,
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry)
1999-08-28 16:48 ` GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry) Russ Allbery
1999-08-28 17:07 ` H.J. Lu
1999-08-30 2:51 ` Gerald Pfeifer
@ 1999-08-30 9:29 ` Nick Ing-Simmons
1999-08-30 22:31 ` GCC 2.95.x: Major problems on Solaris Russ Allbery
1999-08-31 23:20 ` GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry) Nick Ing-Simmons
1999-08-30 9:29 ` Nick Ing-Simmons
1999-08-31 23:20 ` Russ Allbery
4 siblings, 2 replies; 24+ messages in thread
From: Nick Ing-Simmons @ 1999-08-30 9:29 UTC (permalink / raw)
To: rra; +Cc: Gerald Pfeifer, gcc
Russ Allbery <rra@stanford.edu> writes:
>Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
>
>> 5. Has someone experiencing these problems already submitted bug reports
>> to the binutils developers resp. Sun?
>
>I haven't, under the assumption that the hint file entry in Perl saying
>that GNU ld wouldn't work meant that this was a known problem.
It has been a "known problem" for years. The _original_ problem
was GNU ld not honouring LD_RUN_PATH nor -R or equivalent.
IIRC the exact problem has varied over the years.
There was a version around binutils-2.8.? when it did work, but it was too
hard for us to explain to the clueless that they needed to install
new binutils and possibly re-build gcc. (Lots of comparitively clueless
want to build and use perl.)
Now that GNU ld actually gains something (at least for C++) it is
worth taking the time to figure it out.
>If people
>think it would help, I can try it again in a few days and put together a
>fuller problem report.
Copy to perl5-porters@perl.org too - at very least Configure will
probably need tweaks to command line stuff.
>Perl makes extensive use of dynamically loaded
>modules, and the symptom that I was seeing was that when all of Perl was
>linked with GNU ld, it couldn't load the dynamic modules that it had just
>built.
--
Nick Ing-Simmons
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: GCC 2.95.x: Major problems on Solaris
1999-08-30 9:29 ` Nick Ing-Simmons
@ 1999-08-30 22:31 ` Russ Allbery
1999-08-31 23:20 ` Russ Allbery
1999-08-31 23:20 ` GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry) Nick Ing-Simmons
1 sibling, 1 reply; 24+ messages in thread
From: Russ Allbery @ 1999-08-30 22:31 UTC (permalink / raw)
To: Nick Ing-Simmons; +Cc: Gerald Pfeifer, gcc
Nick Ing-Simmons <nik@tiuk.ti.com> writes:
> Copy to perl5-porters@perl.org too - at very least Configure will
> probably need tweaks to command line stuff.
Andy says that adding -E to the link options, which is in the _61 hints
file, makes Perl build correctly with GNU ld, and that he got a bunch of
positive confirmations back in April. So it's possible that this is now
fixed.
--
Russ Allbery (rra@stanford.edu) <URL: http://www.eyrie.org/~eagle/ >
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry)
1999-08-30 9:29 ` Nick Ing-Simmons
1999-08-30 22:31 ` GCC 2.95.x: Major problems on Solaris Russ Allbery
@ 1999-08-31 23:20 ` Nick Ing-Simmons
1 sibling, 0 replies; 24+ messages in thread
From: Nick Ing-Simmons @ 1999-08-31 23:20 UTC (permalink / raw)
To: rra; +Cc: Gerald Pfeifer, gcc
Russ Allbery <rra@stanford.edu> writes:
>Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
>
>> 5. Has someone experiencing these problems already submitted bug reports
>> to the binutils developers resp. Sun?
>
>I haven't, under the assumption that the hint file entry in Perl saying
>that GNU ld wouldn't work meant that this was a known problem.
It has been a "known problem" for years. The _original_ problem
was GNU ld not honouring LD_RUN_PATH nor -R or equivalent.
IIRC the exact problem has varied over the years.
There was a version around binutils-2.8.? when it did work, but it was too
hard for us to explain to the clueless that they needed to install
new binutils and possibly re-build gcc. (Lots of comparitively clueless
want to build and use perl.)
Now that GNU ld actually gains something (at least for C++) it is
worth taking the time to figure it out.
>If people
>think it would help, I can try it again in a few days and put together a
>fuller problem report.
Copy to perl5-porters@perl.org too - at very least Configure will
probably need tweaks to command line stuff.
>Perl makes extensive use of dynamically loaded
>modules, and the symptom that I was seeing was that when all of Perl was
>linked with GNU ld, it couldn't load the dynamic modules that it had just
>built.
--
Nick Ing-Simmons
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry)
1999-08-28 16:48 ` GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry) Russ Allbery
` (2 preceding siblings ...)
1999-08-30 9:29 ` Nick Ing-Simmons
@ 1999-08-30 9:29 ` Nick Ing-Simmons
1999-08-31 23:20 ` Nick Ing-Simmons
1999-08-31 23:20 ` Russ Allbery
4 siblings, 1 reply; 24+ messages in thread
From: Nick Ing-Simmons @ 1999-08-30 9:29 UTC (permalink / raw)
To: rra; +Cc: Gerald Pfeifer, gcc
Russ Allbery <rra@stanford.edu> writes:
>Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
>
>> 5. Has someone experiencing these problems already submitted bug reports
>> to the binutils developers resp. Sun?
>
>I haven't, under the assumption that the hint file entry in Perl saying
>that GNU ld wouldn't work meant that this was a known problem.
It has been a "known problem" for years. The _original_ problem
was GNU ld not honouring LD_RUN_PATH nor -R or equivalent.
IIRC the exact problem has varied over the years.
There was a version around binutils-2.8.? when it did work, but it was too
hard for us to explain to the clueless that they needed to install
new binutils and possibly re-build gcc. (Lots of comparitively clueless
want to build and use perl.)
Now that GNU ld actually gains something (at least for C++) it is
worth taking the time to figure it out.
>If people
>think it would help, I can try it again in a few days and put together a
>fuller problem report.
Copy to perl5-porters@perl.org too - at very least Configure will
probably need tweaks to command line stuff.
>Perl makes extensive use of dynamically loaded
>modules, and the symptom that I was seeing was that when all of Perl was
>linked with GNU ld, it couldn't load the dynamic modules that it had just
>built.
--
Nick Ing-Simmons
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry)
1999-08-30 9:29 ` Nick Ing-Simmons
@ 1999-08-31 23:20 ` Nick Ing-Simmons
0 siblings, 0 replies; 24+ messages in thread
From: Nick Ing-Simmons @ 1999-08-31 23:20 UTC (permalink / raw)
To: rra; +Cc: Gerald Pfeifer, gcc
Russ Allbery <rra@stanford.edu> writes:
>Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
>
>> 5. Has someone experiencing these problems already submitted bug reports
>> to the binutils developers resp. Sun?
>
>I haven't, under the assumption that the hint file entry in Perl saying
>that GNU ld wouldn't work meant that this was a known problem.
It has been a "known problem" for years. The _original_ problem
was GNU ld not honouring LD_RUN_PATH nor -R or equivalent.
IIRC the exact problem has varied over the years.
There was a version around binutils-2.8.? when it did work, but it was too
hard for us to explain to the clueless that they needed to install
new binutils and possibly re-build gcc. (Lots of comparitively clueless
want to build and use perl.)
Now that GNU ld actually gains something (at least for C++) it is
worth taking the time to figure it out.
>If people
>think it would help, I can try it again in a few days and put together a
>fuller problem report.
Copy to perl5-porters@perl.org too - at very least Configure will
probably need tweaks to command line stuff.
>Perl makes extensive use of dynamically loaded
>modules, and the symptom that I was seeing was that when all of Perl was
>linked with GNU ld, it couldn't load the dynamic modules that it had just
>built.
--
Nick Ing-Simmons
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry)
1999-08-28 16:48 ` GCC 2.95.x: Major problems on Solaris (was: Lost specific.html FAQEntry) Russ Allbery
` (3 preceding siblings ...)
1999-08-30 9:29 ` Nick Ing-Simmons
@ 1999-08-31 23:20 ` Russ Allbery
4 siblings, 0 replies; 24+ messages in thread
From: Russ Allbery @ 1999-08-31 23:20 UTC (permalink / raw)
To: Gerald Pfeifer; +Cc: gcc
Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
> 5. Has someone experiencing these problems already submitted bug reports
> to the binutils developers resp. Sun?
I haven't, under the assumption that the hint file entry in Perl saying
that GNU ld wouldn't work meant that this was a known problem. If people
think it would help, I can try it again in a few days and put together a
fuller problem report. Perl makes extensive use of dynamically loaded
modules, and the symptom that I was seeing was that when all of Perl was
linked with GNU ld, it couldn't load the dynamic modules that it had just
built.
--
Russ Allbery (rra@stanford.edu) <URL: http://www.eyrie.org/~eagle/ >
^ permalink raw reply [flat|nested] 24+ messages in thread