Re: 4.3.0-rc1 available

2008-02-22 Thread Guillermo Ballester Valor
Hello,

El Friday 22 February 2008 14:41:30 Jakub Jelinek escribió:
> GCC 4.3.0 release candidate 1 is now available at:
>
> ftp://gcc.gnu.org/pub/gcc/snapshots/4.3.0-RC-20080222/
>
> Please test the tarballs there and report any problems to Bugzilla.  CC me
> on the bugs if you believe they are regressions from previous releases
> severe enough that they should block the 4.3.0 release.

I cannot build, it stops with error at some level when building classpath. Any 
other getting same error?

[EMAIL PROTECTED]:~> uname -a
Linux gauss 2.6.22.17-0.1-default #1 SMP 2008/02/10 20:01:04 UTC x86_64 x86_64 
x86_64 GNU/Linux

 gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured 
with: ../configure --enable-threads=posix --prefix=/usr 
--with-local-prefix=/usr/local --infodir=/usr/share/info 
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada 
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1 
--enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64 
--with-system-zlib --enable-shared --enable-__cxa_atexit 
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.2 
--enable-version-specific-runtime-libs --without-system-libunwind 
--with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 4.2.1 (SUSE Linux)


libtool: 
compile:  /tmp/objdir/./gcc/xgcc -B/tmp/objdir/./gcc/ 
-B/usr/local/x86_64-unknown-linux-gnu/bin/ 
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem 
/usr/local/x86_64-unknown-linux-gnu/include -isystem 
/usr/local/x86_64-unknown-linux-gnu/sys-include -m32 -DHAVE_CONFIG_H -I. 
-I../../../../../../../../gcc-4.3.0-RC-20080222/libjava/classpath/native/jni/midi-dssi
 -I../../../include 
-I../../../../../../../../gcc-4.3.0-RC-20080222/libjava/classpath/include 
-I../../../../../../../../gcc-4.3.0-RC-20080222/libjava/classpath/native/jni/classpath
 
-I../../../../../../../../gcc-4.3.0-RC-20080222/libjava/classpath/native/jni/native-lib
 -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes 
-Wno-long-long -O2 -g -g -O2 -m32 -MT 
gnu_javax_sound_midi_dssi_DSSISynthesizer.lo -MD -MP -MF 
.deps/gnu_javax_sound_midi_dssi_DSSISynthesizer.Tpo -c 
../../../../../../../../gcc-4.3.0-RC-20080222/libjava/classpath/native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c
  -fPIC -DPIC -o .libs/gnu_javax_sound_midi_dssi_DSSISynthesizer.o
/bin/sh ../../../libtool --tag=CC --mode=link /tmp/objdir/./gcc/xgcc 
-B/tmp/objdir/./gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ 
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem 
/usr/local/x86_64-unknown-linux-gnu/include -isystem 
/usr/local/x86_64-unknown-linux-gnu/sys-include  -m32 -W -Wall 
-Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long  -O2 
-g -g -O2-m32 -module -version-info 
0:0:0 -no-undefined -m32 -o 
libgjsmdssi.la -rpath /usr/local/lib/../lib/gcj-4.3.0-9 -module -version-info 
0:0:0 -no-undefined -avoid-version 
gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.lo 
gnu_javax_sound_midi_dssi_DSSISynthesizer.lo 
../../../native/jni/classpath/jcl.lo -ljack
libtool: 
link: /tmp/objdir/./gcc/xgcc -B/tmp/objdir/./gcc/ 
-B/usr/local/x86_64-unknown-linux-gnu/bin/ 
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem 
/usr/local/x86_64-unknown-linux-gnu/include -isystem 
/usr/local/x86_64-unknown-linux-gnu/sys-include  -m32 -shared  
.libs/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.o 
.libs/gnu_javax_sound_midi_dssi_DSSISynthesizer.o 
../../../native/jni/classpath/.libs/jcl.o   -ljack  -m32 -m32 -m32 -Wl,-soname 
-Wl,libgjsmdssi.so -o .libs/libgjsmdssi.so
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: 
skipping incompatible /usr/lib64/libjack.so when searching for -ljack
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: 
cannot find -ljack
collect2: ld returned 1 exit status
make[8]: *** [libgjsmdssi.la] Error 1
make[8]: se sale del directorio 
`/tmp/objdir/x86_64-unknown-linux-gnu/32/libjava/classpath/native/jni/midi-dssi'
make[7]: *** [all-recursive] Error 1
make[7]: se sale del directorio 
`/tmp/objdir/x86_64-unknown-linux-gnu/32/libjava/classpath/native/jni'
make[6]: *** [all-recursive] Error 1
make[6]: se sale del directorio 
`/tmp/objdir/x86_64-unknown-linux-gnu/32/libjava/classpath/native'
make[5]: *** [all-recursive] Error 1
make[5]: se sale del directorio 
`/tmp/objdir/x86_64-unknown-linux-gnu/32/libjava/classpath'
make[4]: *** [all-recursive] Error 1
make[4]: se sale del directorio 
`/tmp/objdir/x86_64-unknown-linux-gnu/32/libjava'
make[3]: *** [multi-do] Error 1
make[3]: se sale del directorio `/tmp/objdir/x86_64-unknown-linux-gnu/libjava'
make[2]: *** [all-multi] Error 2
make[2]: se sale del directorio `/tmp/objdir/x86_64-unknown-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: se sale del directorio `/tmp/

Re: 4.3.0-rc1 available

2008-02-22 Thread Guillermo Ballester Valor
El Friday 22 February 2008 20:21:36 Paweł Sikora escribió:
> On Friday 22 of February 2008 21:08:10 Guillermo Ballester Valor wrote:
> > ../../../native/jni/classpath/.libs/jcl.o   -ljack  -m32 -m32 -m32
> > -Wl,-soname -Wl,libgjsmdssi.so -o .libs/libgjsmdssi.so
> > /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/
> >ld
> >
> >: skipping incompatible /usr/lib64/libjack.so when searching for -ljack
>
>^^
>
> > /usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/
> >ld
> >
> >: cannot find -ljack
>
> as far i can see you're trying to build libgcj multilib (32/64-bits)
> on x86_64 only enviroment. please try --disable-libjava-multilib option
> with this (or equivalent) patch:
> http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/gcc4-libjava-multilib.patch
>?rev=HEAD

I just only wanted to check the tarball. I followed the instructions in gcc 
web.

I configured 
cd objdir
../gcc-4.3.0-RC-20080222/configure

and then build

make

it seems that to build in openSUSE x86_64 we need hacks and patches. I patched 
the source

[EMAIL PROTECTED]:/tmp/gcc-4.3.0-RC-20080222> patch -p1 
libjava/configure.ac /tmp/downloads/multilib.patch
patching file libjava/configure.ac
Hunk #1 succeeded at 82 with fuzz 2 (offset -2 lines).

And configured with the suggested option

../gcc-4.3.0-RC-20080222/configure --disable-libjava-multilib

And again it failed in same place  :(


libtool: 
link: /tmp/objdir/./gcc/xgcc -B/tmp/objdir/./gcc/ 
-B/usr/local/x86_64-unknown-linux-gnu/bin/ 
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem 
/usr/local/x86_64-unknown-linux-gnu/include -isystem 
/usr/local/x86_64-unknown-linux-gnu/sys-include  -m32 -shared  
.libs/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.o 
.libs/gnu_javax_sound_midi_dssi_DSSISynthesizer.o 
../../../native/jni/classpath/.libs/jcl.o   -ljack  -m32 -m32 -m32 -Wl,-soname 
-Wl,libgjsmdssi.so -o .libs/libgjsmdssi.so
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: 
skipping incompatible /usr/lib64/libjack.so when searching for -ljack
/usr/lib64/gcc/x86_64-suse-linux/4.2.1/../../../../x86_64-suse-linux/bin/ld: 
cannot find -ljack
collect2: ld returned 1 exit status
make[8]: *** [libgjsmdssi.la] Error 1
make[8]: se sale del directorio 
`/tmp/objdir/x86_64-unknown-linux-gnu/32/libjava/classpath/native/jni/midi-dssi'
make[7]: *** [all-recursive] Error 1
make[7]: se sale del directorio 
`/tmp/objdir/x86_64-unknown-linux-gnu/32/libjava/classpath/native/jni'
make[6]: *** [all-recursive] Error 1
make[6]: se sale del directorio 
`/tmp/objdir/x86_64-unknown-linux-gnu/32/libjava/classpath/native'
make[5]: *** [all-recursive] Error 1
make[5]: se sale del directorio 
`/tmp/objdir/x86_64-unknown-linux-gnu/32/libjava/classpath'
make[4]: *** [all-recursive] Error 1
make[4]: se sale del directorio 
`/tmp/objdir/x86_64-unknown-linux-gnu/32/libjava'
make[3]: *** [multi-do] Error 1
make[3]: se sale del directorio `/tmp/objdir/x86_64-unknown-linux-gnu/libjava'
make[2]: *** [all-multi] Error 2
make[2]: se sale del directorio `/tmp/objdir/x86_64-unknown-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: se sale del directorio `/tmp/objdir'
make: *** [all] Error 2


Guillermo


-- 
Guillermo Ballester Valor
[EMAIL PROTECTED]
http://www.oxixares.com/~gbv
Ogijares, Granada - SPAIN


Re: 4.3.0-rc1 available

2008-02-23 Thread Guillermo Ballester Valor
Hello Ralf,

El Saturday 23 February 2008 08:33:34 Ralf Wildenhues escribió:
> Hello Guillermo,
>
> * Guillermo Ballester Valor wrote on Fri, Feb 22, 2008 at 11:51:53PM CET:
> > El Friday 22 February 2008 20:21:36 Paweł Sikora escribió:
> > > as far i can see you're trying to build libgcj multilib (32/64-bits)
> > > on x86_64 only enviroment. please try --disable-libjava-multilib option
> > > with this (or equivalent) patch:
> > > http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/gcc4-libjava-multilib.p
> > >atch ?rev=HEAD
> >
> > it seems that to build in openSUSE x86_64 we need hacks and patches.
>
> Well, I guess you can also globally --disable-multilib.  For that, I
> don't think you need a patch.

I tried it, and works!

>
> > I patched the source
> >
> > [EMAIL PROTECTED]:/tmp/gcc-4.3.0-RC-20080222> patch -p1
> > libjava/configure.ac /tmp/downloads/multilib.patch
> > patching file libjava/configure.ac
> > Hunk #1 succeeded at 82 with fuzz 2 (offset -2 lines).
> >
> > And configured with the suggested option
>
> After the patch, you need to also regenerate the libjava/configure
> script.  Do this by having Autoconf 2.59 installed (and found in $PATH),
> enter the libjava source directory, and run autoconf.

You are right, I guess I was needing more coffee. :-)
>
> > ../gcc-4.3.0-RC-20080222/configure --disable-libjava-multilib
> >
> > And again it failed in same place  :(
>
> That's expected if the changes from libjava/configure.ac have not
> propagated into libjava/configure.
>
> I suppose a third way to fix the build would be to install a 32bit
> libjack.
>
> Hope that helps.

Thank you very much!.

Have a nice weekend

Guillermo

>
> Cheers,
> Ralf



-- 
Guillermo Ballester Valor
[EMAIL PROTECTED]
http://www.oxixares.com/~gbv
Ogijares, Granada - SPAIN