[Bug java/49077] gcjwebplugin.cc doesn't compile against latest xulrunner 2.0b13 sdk

jason.vas.dias at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri May 20 10:24:00 GMT 2011


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



More information about the Gcc-bugs mailing list