This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/48020] libgo flag test FAILs on Solaris 2
- From: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 9 Mar 2011 07:09:59 +0000
- Subject: [Bug go/48020] libgo flag test FAILs on Solaris 2
- Auto-submitted: auto-generated
- References: <bug-48020-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48020
Ian Lance Taylor <ian at airs dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011.03.09 07:09:58
Ever Confirmed|0 |1
--- Comment #1 from Ian Lance Taylor <ian at airs dot com> 2011-03-09 07:09:58 UTC ---
I think that the problem is that the functions are not being run in the order
they appear in the file. Most likely the Solaris nm program is sorting the
test functions by name. The gotest script passes the -p option, which tells
GNU nm to not sort the functions. Of course, the gcc middle-end may sort the
functions anyhow, so this is imperfect?
Does the Solaris nm have any option to not sort the symbols? I don't see one
on the man page I found on the web.
I'm not sure what the best fix is going to be here.