This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wed, 22 Sep 2004, Charles Wilson wrote:
[cygwin list: I'm CC'ing this so that it goes into the archives, but it's pretty technical about the innards of libtool...]
This doesn't seem libtool related at all to me (other than it's a gcc bug that affects libtool).
With newer gcc's (cygwin version numbers 3.3.3-3, 3.4.1-1, but not 3.3.1-3), const variables are placed in an .rdata section. This causes problems when those variables contain references to OTHER vars that are imported from a dll -- because the runtime relocation machinery can't fixup the address, since the variable holding the address is const -- and is in .rdata!
Yes, I see. I hope Danny Smith might weigh in here?
http://sources.redhat.com/ml/binutils/2004-02/msg00003.html
-- Chuck
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |