This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug bootstrap/49555] libjava fails to configure if --enable-symvers=gnu or --enable-symvers=sun


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49555

--- Comment #6 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-06-29 09:03:46 UTC ---
> Sure. Re-reading comment #3, maybe I sounded a bit brass.

No problem, I can stand some heat :-)

>> > * why do you insist on specifying the symvers flavor manually?
>
> I had a discussion with Yann E. Morin, and it sounds like this option was
> ported forward from the legacy options in Dan Kegel's crosstool.
>
> The questions I am asking should be:
>
> * Should this ever (for any platform) be set manually? Or should this always be
> an 'automatic' setting?

Except for the (experimental) gnu vs. gnu-versioned-namespace
distinction in libstdc++-v3, I don't believe so.  We had a case where
--disable-symvers/--enable-symvers=no was necessary as a workaround, but
otherwise I'd prefer users to leave this alone.  Unfortunately, the
configure checks in different target libraries are currently
inconsistent.  I hope to get back to this at some point, though.

> * Isn't it inconsistent that every component checks for 'gnu*' and 'sun',
> except for libjava?

In a way, it is, except that it matters for those components, but not
for libjava.  But the check should be for gnu and sun alone,
gnu-versioned-namespace is probably wrong here.

> Yann is currently retesting the sh4 build without --enable-symvers=gnu set to
> see if it still needs it. If it does not, then he will remove it completely,
> otherwise it should be target specific in crosstool-ng and not for all targets.

Excellent, thanks for checking this.

    Rainer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]