openal 0.0.8 doesn't compile on g/fbsd I attach the patch
Created attachment 93252 [details, diff] files/openal-0.0.8-alc_backend_bsd.patch
lc_backend_null.o .libs/libopenal_la-alc_backend_wave.o .libs/libopenal_la-alc_backend.o .libs/libopenal_la-x86_floatmul.o .libs/libopenal_la-x86_cpu_c aps_prk.o .libs/libopenal_la-mixaudio16_mmx_prk.o .libs/libopenal_la-alc_context.o .libs/libopenal_la-alc_device.o .libs/libopenal_la-alc_error.o .libs /libopenal_la-alc_speaker.o .libs/libopenal_la-ac_adpcm.o .libs/libopenal_la-ac_bits.o .libs/libopenal_la-ac_channels.o .libs/libopenal_la-ac_endian.o .libs/libopenal_la-ac_freq.o .libs/libopenal_la-ac_helper.o .libs/libopenal_la-ac_misc.o .libs/libopenal_la-al_ext_vorbis.o .libs/libopenal_la-al_ext_c apture.o .libs/libopenal_la-al_ext_loki.o -Wl,--whole-archive ../src/arch/i386/.libs/libx86_asm_routines.a -Wl,--no-whole-archive -lm -march=athlon-t bird -Wl,-soname -Wl,libopenal.so.0 -o .libs/libopenal.so.0 ../src/arch/i386/.libs/libx86_asm_routines.a: member ../src/arch/i386/.libs/libx86_asm_routines.a(x86_cpu_caps_detect_prk.o) in archive is not an objec t collect2: ld returned 1 exit status gmake[3]: *** [libopenal.la] Error 1 gmake[3]: Leaving directory `/var/tmp/portage/openal-0.0.8-r1/work/openal-0.0.8/src' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/var/tmp/portage/openal-0.0.8-r1/work/openal-0.0.8/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/openal-0.0.8-r1/work/openal-0.0.8' gmake: *** [all] Error 2 !!! ERROR: media-libs/openal-0.0.8-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile openal-0.0.8-r1.ebuild, line 53: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. Still fails here, ideas?
(In reply to comment #2) Which uses did you use? I have installed openal (0.0.8-r1) USE="(-alsa) -arts -debug -esd -mp3 -sdl -vorbis" simply copying my patch as $FILESDIR/0.0.8/001_all_freebsd.patch and it links correctly
Emerges on x86 fine with this patch. Can't test for sound just yet - will report back if I can now get Eternal Lands working
Sound works fine in EL with this patch and the one on bug #151224 :)
2/3 works for me... :P If this needs to be adjusted (and doesn't blow up non-freebsd) you guys have my permission to simply fix it. Since I don't use freebsd, I have no way of testing it, anyway.
It's not (comletely) fixed yet. Whether you can compile it or not also depends on your cflags. For example I can compile it using "-march=i686 -O2" but not using "-march=prescott -O2".
(In reply to comment #7) > It's not (comletely) fixed yet. > > Whether you can compile it or not also depends on your cflags. For example I > can compile it using "-march=i686 -O2" but not using "-march=prescott -O2". Could you open a new bug for that please?