public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/49077] gcjwebplugin.cc doesn't compile against latest xulrunner 2.0b13 sdk
       [not found] <bug-49077-8172@http.gcc.gnu.org/bugzilla/>
@ 2011-05-20 10:39 ` jason.vas.dias at gmail dot com
  2011-05-20 10:47 ` jason.vas.dias at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jason.vas.dias at gmail dot com @ 2011-05-20 10:39 UTC (permalink / raw)
  To: java-prs

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

--- Comment #1 from Jason Vas Dias <jason.vas.dias at gmail dot com> 2011-05-20 10:07:20 UTC ---
my config:

  $ /usr/build2/gcc/gcc-4.6.0/configure --prefix=/usr --libdir=/usr/lib64\
    --with-cpu-32=i686 --with-cpu-64=k8 --enable-languages=all \
    --enable-targets=all --enable-multilib --enable-threads=posix --enable-tls\
    --enable-lto --enable-shared --enable-checking=release \
    --with-build-time-tools=/usr/bin --with-ld=/usr/bin/ld --with-gnu-ld \
    --with-as=/usr/bin/as --with-gnu-as --enable-__cxa_atexit \
    --disable-libunwind-exceptions --with-gxx-include-dir=/usr/include/c++\
    --enable-version-specific-runtime-libs --with-system-zlib --disable-werror\
    --enable-classpath --with-x --enable-gtk-cairo --enable-java-awt=gtk,xlib\
    --withjava-home=/usr/java --with-jvm-root-dir=/usr/java/jvm \
    --with-jvm-jar-dir=/usr/java/jvm_exports --enable-browser-plugin\ 
    --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu \
    --without-included-gettext --enable-serial-configure

with /usr/build2/gcc/gcc-4.6.0 containing GCC source identical to that shipped
in gcc-4.6.0.tar.bz2 except for this patch which I use for my distro defaults :

diff -up gcc/config/i386/linux.h~ gcc/config/i386/linux.h
--- gcc/config/i386/linux.h~    2011-01-14 18:45:06.000000000 +0000
+++ gcc/config/i386/linux.h     2011-04-05 22:17:10.000000000 +0100
@@ -92,7 +92,7 @@ along with GCC; see the file COPYING3.

 /* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */
 #define LINK_EMULATION "elf_i386"
-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
+#define GLIBC_DYNAMIC_LINKER "/lib32/ld-linux.so.2"

 #undef  ASM_SPEC
 #define ASM_SPEC \
diff -up gcc/config/i386/linux64.h~ gcc/config/i386/linux64.h
--- gcc/config/i386/linux64.h~  2011-03-02 22:35:36.000000000 +0000
+++ gcc/config/i386/linux64.h   2011-04-05 22:17:33.000000000 +0100
@@ -62,7 +62,7 @@ see the files COPYING3 and COPYING.RUNTI
    When the -shared link option is used a final link is not being
    done.  */

-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
+#define GLIBC_DYNAMIC_LINKER32 "/lib32/ld-linux.so.2"
 #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"

 #if TARGET_64BIT_DEFAULT


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/49077] gcjwebplugin.cc doesn't compile against latest xulrunner 2.0b13 sdk
       [not found] <bug-49077-8172@http.gcc.gnu.org/bugzilla/>
  2011-05-20 10:39 ` [Bug java/49077] gcjwebplugin.cc doesn't compile against latest xulrunner 2.0b13 sdk jason.vas.dias at gmail dot com
@ 2011-05-20 10:47 ` jason.vas.dias at gmail dot com
  2011-05-20 11:16 ` [Bug java/49077] gcjwebplugin.cc doesn't compile against latest xulrunner 2.0 (firefox-3.6) sdk jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jason.vas.dias at gmail dot com @ 2011-05-20 10:47 UTC (permalink / raw)
  To: java-prs

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

--- Comment #2 from Jason Vas Dias <jason.vas.dias at gmail dot com> 2011-05-20 10:17:10 UTC ---
See https://developer.mozilla.org/en/firefox_3.6_for_developers :

"Interfaces merged

The following interfaces have been combined together:

    nsIPluginTagInfo2 has been merged into nsIPluginTagInfo.
    nsIPluginInstanceInternal, nsIPPluginInstancePeer, nsIPluginInstancePeer1,
nsIPluginInstancePeer2, and nsIPluginInstancePeer3 have all been merged into
nsIPluginInstance.
    nsIWindowlessPlugInstPeer has been merged into nsIPluginInstance.
    nsIPluginManager and nsIPluginManager2 have been merged into nsIPluginHost.

"


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/49077] gcjwebplugin.cc doesn't compile against latest xulrunner 2.0 (firefox-3.6) sdk
       [not found] <bug-49077-8172@http.gcc.gnu.org/bugzilla/>
  2011-05-20 10:39 ` [Bug java/49077] gcjwebplugin.cc doesn't compile against latest xulrunner 2.0b13 sdk jason.vas.dias at gmail dot com
  2011-05-20 10:47 ` jason.vas.dias at gmail dot com
@ 2011-05-20 11:16 ` jakub at gcc dot gnu.org
  2011-05-20 13:15 ` jason.vas.dias at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-05-20 11:16 UTC (permalink / raw)
  To: java-prs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-20 11:00:28 UTC ---
gcjwebplugin is dead, it should have been removed, but nobody has done that.
Just don't enable it in configure.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/49077] gcjwebplugin.cc doesn't compile against latest xulrunner 2.0 (firefox-3.6) sdk
       [not found] <bug-49077-8172@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-05-20 11:16 ` [Bug java/49077] gcjwebplugin.cc doesn't compile against latest xulrunner 2.0 (firefox-3.6) sdk jakub at gcc dot gnu.org
@ 2011-05-20 13:15 ` jason.vas.dias at gmail dot com
  2011-05-20 13:32 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jason.vas.dias at gmail dot com @ 2011-05-20 13:15 UTC (permalink / raw)
  To: java-prs

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

--- Comment #5 from Jason Vas Dias <jason.vas.dias at gmail dot com> 2011-05-20 12:56:44 UTC ---
(In reply to comment #3)
> gcjwebplugin is dead, it should have been removed, but nobody has done that.
> Just don't enable it in configure.

Well then what replaces the Firefox plugin functionality - ie.
what happens when I include '--enable-browser-plugin' in configure args ?
A JVM environment and Java SDK is hardly worthy of the name unless it
can be used to run java applets embedded in webpages from the system
browser - how else is one meant to do this using only GCJ components ?

This problem appears to be the ONLY reason gcjwebplugin fails to build ;
are you sure rumors of its demise are not premature ?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/49077] gcjwebplugin.cc doesn't compile against latest xulrunner 2.0 (firefox-3.6) sdk
       [not found] <bug-49077-8172@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2011-05-20 13:15 ` jason.vas.dias at gmail dot com
@ 2011-05-20 13:32 ` jakub at gcc dot gnu.org
  2011-05-20 13:53 ` gnu_andrew at member dot fsf.org
  2011-05-20 19:18 ` jason.vas.dias at gmail dot com
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-05-20 13:32 UTC (permalink / raw)
  To: java-prs

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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-20 13:15:15 UTC ---
(In reply to comment #5)
> (In reply to comment #3)
> > gcjwebplugin is dead, it should have been removed, but nobody has done that.
> > Just don't enable it in configure.
> 
> Well then what replaces the Firefox plugin functionality - ie.
> what happens when I include '--enable-browser-plugin' in configure args ?
> A JVM environment and Java SDK is hardly worthy of the name unless it
> can be used to run java applets embedded in webpages from the system
> browser - how else is one meant to do this using only GCJ components ?
> 
> This problem appears to be the ONLY reason gcjwebplugin fails to build ;
> are you sure rumors of its demise are not premature ?

It is what the gcjwebplugin authors told me when I reported it to them many
months ago.  The plugin is maintained as part of icedtea for openjdk, and
that's where development and maintainance occurs.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/49077] gcjwebplugin.cc doesn't compile against latest xulrunner 2.0 (firefox-3.6) sdk
       [not found] <bug-49077-8172@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2011-05-20 13:32 ` jakub at gcc dot gnu.org
@ 2011-05-20 13:53 ` gnu_andrew at member dot fsf.org
  2011-05-20 19:18 ` jason.vas.dias at gmail dot com
  6 siblings, 0 replies; 7+ messages in thread
From: gnu_andrew at member dot fsf.org @ 2011-05-20 13:53 UTC (permalink / raw)
  To: java-prs

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

Andrew John Hughes <gnu_andrew at member dot fsf.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |gnu_andrew at member dot
                   |                            |fsf.org
         Resolution|                            |WONTFIX

--- Comment #7 from Andrew John Hughes <gnu_andrew at member dot fsf.org> 2011-05-20 13:34:43 UTC ---
gcjwebplugin in gcj/Classpath is dead.  I actually suggested it be removed some
time ago, but there was resistance to doing so.  Current development on a Free
Software browser plugin takes place in the IcedTea-Web project, but this
currently supports only IcedTea as the JDK.  I'd like to see it eventually
support gcj too, but it would need work on both sides for this to happen.

As to your comment about a JDK being irrelevant without applet support, I think
most enterprise JDK users would take issue with this; there is plenty of use
for a JDK besides running applets.  OpenJDK itself (as provided by Oracle)
doesn't have applet support, hence the need for the IcedTea-Web project to
provide a Free implementation.

BTW, regarding the subject, isn't xulrunner 2.0 firefox 4.0, not 3.6?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug java/49077] gcjwebplugin.cc doesn't compile against latest xulrunner 2.0 (firefox-3.6) sdk
       [not found] <bug-49077-8172@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2011-05-20 13:53 ` gnu_andrew at member dot fsf.org
@ 2011-05-20 19:18 ` jason.vas.dias at gmail dot com
  6 siblings, 0 replies; 7+ messages in thread
From: jason.vas.dias at gmail dot com @ 2011-05-20 19:18 UTC (permalink / raw)
  To: java-prs

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

Jason Vas Dias <jason.vas.dias at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WONTFIX                     |

--- Comment #8 from Jason Vas Dias <jason.vas.dias at gmail dot com> 2011-05-20 18:47:00 UTC ---
(In reply to comment #7)
> this currently supports only IcedTea as the JDK.  I'd like to see it eventually
> support gcj too, but it would need work on both sides for this to happen.
> 
> OpenJDK itself (as provided by Oracle) doesn't have applet support, 
> hence the need for the IcedTea-Web project to provide a Free implementation.

IMHO, also hence the need to maintain gappletbrowser + gcjwebplugin in the
interim .  Why must I install yet another whole subsystem just to get 
a java applet displaying in my browser with GCJ + libjava, when it
used not to require one ?  
If gappletbrowser + gcjwebplugin is so thoroughly deprecated, then
gcc's configure should refuse to accept the '--enable-browser-plugin'
option, or, if it does accept it, something like the patch attached
to this bug must be applied to enable the browser plugin to compile.

> 
> BTW, regarding the subject, isn't xulrunner 2.0 firefox 4.0, not 3.6?


Yes, I am building against firefox-4.0 / xulrunner-2.0 but the same problem 
will occur if user try to '--enable-browser-plugin' against firefox-3.6 SDK,
because as Comment #2 shows, they removed the nsIPluginTagInfo2 interface
in firefux-3.6 .


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-05-20 19:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-49077-8172@http.gcc.gnu.org/bugzilla/>
2011-05-20 10:39 ` [Bug java/49077] gcjwebplugin.cc doesn't compile against latest xulrunner 2.0b13 sdk jason.vas.dias at gmail dot com
2011-05-20 10:47 ` jason.vas.dias at gmail dot com
2011-05-20 11:16 ` [Bug java/49077] gcjwebplugin.cc doesn't compile against latest xulrunner 2.0 (firefox-3.6) sdk jakub at gcc dot gnu.org
2011-05-20 13:15 ` jason.vas.dias at gmail dot com
2011-05-20 13:32 ` jakub at gcc dot gnu.org
2011-05-20 13:53 ` gnu_andrew at member dot fsf.org
2011-05-20 19:18 ` jason.vas.dias at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).