This is on FC4 with alsa-lib{.i386,x86-64} installed but only alsa-lib-devel.x86_64 (no alsa-lib-devel.i386). Hence the header files are there, but not the libraries when building the -m32 multilib.
It looks as if configury looks for and finds header files but it's overlooked to also look for "asound" libraries: ... checking for unistd.h... (cached) yes checking alsa/asoundlib.h usability... yes checking alsa/asoundlib.h presence... yes checking for alsa/asoundlib.h... yes checking dssi.h usability... no ... /bin/sh ../../../libtool --mode=link /home/hp/combined/native-regobj/./gcc/xgcc -B/home/hp/combined/native-regobj/./gcc/ -B/tmp/r\ eg-native/x86_64-unknown-linux-gnu/bin/ -B/tmp/reg-native/x86_64-unknown-linux-gnu/lib/ -isystem /tmp/reg-native/x86_64-unknown-l\ inux-gnu/include -isystem /tmp/reg-native/x86_64-unknown-linux-gnu/sys-include -L/home/hp/combined/native-regobj/./ld -m32 -peda\ ntic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -Wstrict-prototypes `pkg-config --cflag\ s-only-other alsa` -O2 -g -O2 -m32 -module -version-info 0:0:0 -no-undefined -m32 -o libgjsmalsa.la -rpath /tmp/reg-native/lib/\ classpath gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.lo gnu_javax_sound_midi_alsa_AlsaPortDevice.lo gnu_javax_sound_midi_\ alsa_AlsaMidiDeviceProvider.lo -lasound /home/hp/combined/native-regobj/./gcc/xgcc -B/home/hp/combined/native-regobj/./gcc/ -B/tmp/reg-native/x86_64-unknown-linux-gnu/bi\ n/ -B/tmp/reg-native/x86_64-unknown-linux-gnu/lib/ -isystem /tmp/reg-native/x86_64-unknown-linux-gnu/include -isystem /tmp/reg-na\ tive/x86_64-unknown-linux-gnu/sys-include -L/home/hp/combined/native-regobj/./ld -m32 -shared .libs/gnu_javax_sound_midi_alsa_A\ lsaMidiSequencerDevice.o .libs/gnu_javax_sound_midi_alsa_AlsaPortDevice.o .libs/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.\ o -L/home/hp/combined/native-regobj/./ld -lasound -Wl,-soname -Wl,libgjsmalsa.so.0 -o .libs/libgjsmalsa.so.0.0.0 /home/hp/combined/native-regobj/./gcc/collect-ld: cannot find -lasound collect2: ld returned 1 exit status make[11]: *** [libgjsmalsa.la] Error 1 make[11]: Leaving directory `/home/hp/combined/native-regobj/x86_64-unknown-linux-gnu/32/libjava/classpath/native/jni/midi-alsa' I'll work around this by installing alsa-lib-devel.i386 -- Summary: bootstrap fails on libjava if alsa headers present but no -lasound. Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hp at gcc dot gnu dot org GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25207