Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC 3.x and Java: how you can help :o)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
verwilst
n00b
n00b


Joined: 16 Apr 2002
Posts: 30
Location: Belgium, Gent

PostPosted: Mon Jul 01, 2002 11:04 am    Post subject: GCC 3.x and Java: how you can help :o) Reply with quote

Hellow, read the following, and if you can/feel like it, feel free to give em your (non-abusive) opinion about this on the listed sun.com URL..

Quote:

Bitch here about it:

http://developer.java.sun.com/developer/bugParade/bugs/4694590.html

"Thanks very much for the comments here and on JavaLobby.
Just want to let you know that we are well aware of the
compatibility issues surrounding different gcc versions.
The problem is that the C++ ABI keeps changing between
different versions of gcc. If we move to use gcc-3.1 to
build JDK (in fact, 1.4.1 source has been cleaned for the
new gcc), it will not work with many existing applications
(e.g. plugin will not work on mozilla). That would be
unacceptable to many other folks who still rely on the old
system.

That being said, we are surely trying to find a release as
the candidate for the transition to gcc-3.x. It would depend
on how fast the community is switching to gcc-3.x. Right
now, we are looking at 1.4.2 being the transition release.
If you feel strongly 1.4.1 should be the one (btw, 1.4.1
beta is just released today), please share your thoughts
here. We'd love to hear.

Just a note on statically linking libstdc++. Yes, that will
solve the dependence on libstdc++-libc6.1-1.so.2, and we
are doing this for 1.4.1. But keep in mind that could
cause other problems, as you might end up having two
incompatible C++ runtime in the memory. That isn't healthy.

Again, thanks for all the comments and suggestions."

_________________
Bart Verwilst
Gentoo Linux Developer
Gent, Belgium
Back to top
View user's profile Send private message
Scandium
Retired Dev
Retired Dev


Joined: 22 Apr 2002
Posts: 340
Location: Germany

PostPosted: Mon Jul 01, 2002 11:11 am    Post subject: Reply with quote

why force anybody on using gcc 3.x ?
If you are a java developer it doesn't matter wether it is compiled with gcc 3.x or 2.95, does it ?!

And after all they say they like to use it but there are problems - it would be something else if they said they won't use gcc 3.x before 3.4 or so...


Again, perhaps I don't understand the situation here but pls don't blame me :P
Back to top
View user's profile Send private message
verwilst
n00b
n00b


Joined: 16 Apr 2002
Posts: 30
Location: Belgium, Gent

PostPosted: Tue Jul 02, 2002 12:26 am    Post subject: Reply with quote

The problem is that users with gcc 3.1 can't use java because it's compiled on gcc 2.95.x systems, and sun needs to compile their jre/jdk with gcc 3.1 to enable our gentoo 1.3 users to use java
_________________
Bart Verwilst
Gentoo Linux Developer
Gent, Belgium
Back to top
View user's profile Send private message
trapni
Retired Dev
Retired Dev


Joined: 16 May 2002
Posts: 251
Location: Germany/Berlin

PostPosted: Tue Jul 02, 2002 12:48 am    Post subject: Reply with quote

Well, these are really very nice news to me *peep*. I can't see Java Applets in Konqueror and can't run Flash either.....

That's all? :roll:
Back to top
View user's profile Send private message
petecool
n00b
n00b


Joined: 17 Apr 2002
Posts: 11
Location: Laval, Québec, Canada

PostPosted: Tue Jul 02, 2002 2:26 am    Post subject: Reply with quote

Can't they see another possibility? Releasing two sets of binaries, one built with gcc2.95.x and one built with gcc3.1+ would solve all this: make java work on newer/bleeding edge distros, and wouldn't force anybody that uses gcc2.95.x to build their distro (everybody else?) to upgrade to gcc3.1+
Back to top
View user's profile Send private message
mkennedy
Retired Dev
Retired Dev


Joined: 30 May 2002
Posts: 35
Location: Texas

PostPosted: Tue Jul 02, 2002 4:41 am    Post subject: Reply with quote

Scandium wrote:
why force anybody on using gcc 3.x ?
If you are a java developer it doesn't matter wether it is compiled with gcc 3.x or 2.95, does it ?!


Hi, actually... yes. It does matter. Basically anything JNI which has to compile on gcc3.1 will not be compatible with the JVM at run time. That goes for applet in Mozilla etc.

Remember: GCC 2.95.3 is a full 2 releases behind gcc3.1. It is OLD! Are the GCC developers fixing bugs for 2.95.3? I think not.
_________________
Bugs go in Bugzilla!
Back to top
View user's profile Send private message
Scandium
Retired Dev
Retired Dev


Joined: 22 Apr 2002
Posts: 340
Location: Germany

PostPosted: Tue Jul 02, 2002 9:21 am    Post subject: Reply with quote

ah ok, didn't know that...Now I know it but I don't understand :P
If they compile it with 2.95 and I use it (it's already binary) and then I
javac myproject.java
that hasn't too much to do with _my_ gcc ?
----
okok, it's morning now I got it :P
Back to top
View user's profile Send private message
trapni
Retired Dev
Retired Dev


Joined: 16 May 2002
Posts: 251
Location: Germany/Berlin

PostPosted: Tue Jul 02, 2002 3:02 pm    Post subject: Reply with quote

Scandium wrote:
ah ok, didn't know that...Now I know it but I don't understand :P
If they compile it with 2.95 and I use it (it's already binary) and then I
javac myproject.java
that hasn't too much to do with _my_ gcc ?
----
okok, it's morning now I got it :P
But the javac and java commands are linked against glibc and more wich are (@least in my case) compiled against gcc3.1. So exactly these libraries are binary incompatible to the one produced using gcc2.x. So you simply can't execute java and javac.

Greets,
Christian Parpart.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum