./pulsecore/atomic.h:111:2: #error "The native atomic operations implementation for AMD64 has not been tested. libatomic_ops is known to not work properly on AMD64 and your gcc version is too old for the gcc-builtin atomic ops support. You have three options now: make the native atomic operations implementation for AMD64 work, fix libatomic_ops, or upgrade your GCC." The first option makes things unstable/untested. The second one is development work and the latest is not possible due to an unaviable gcc 4.x for the amd64 hardened profile. gcc-version 3.4.6 (Gentoo Hardened 3.4.6-r2 p1.5, ssp-3.4.6-1.0, pie-8.7.10) x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/modules -I../src/modules/rtp -I../src/modules/gconf -pthread -D_POSIX_PTHREAD_SEMANTICS -DPA_DLSEARCHPATH=\"/usr/lib64/pulse-0.9/modules/\" -DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\" -DPA_BINARY=\"/usr/bin/pulseaudio\" -DPA_SYSTEM_RUNTIME_PATH=\"/var/run/pulse\" -DAO_REQUIRE_CAS "-DDEBUG_TRAP=__asm__(\"int \$3\")" -O2 -march=nocona -pipe -UNDEBUG -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -ffast-math -MT libpulse_la-context.lo -MD -MP -MF .deps/libpulse_la-context.Tpo -c pulse/context.c -fPIC -DPIC -o .libs/libpulse_la-context.o In file included from ./pulsecore/refcnt.h:27, from ./pulsecore/packet.h:30, from ./pulsecore/pdispatch.h:34, from pulse/context.c:60: ./pulsecore/atomic.h:111:2: #error "The native atomic operations implementation for AMD64 has not been tested. libatomic_ops is known to not work properly on AMD64 and your gcc version is too old for the gcc-builtin atomic ops support. You have three options now: make the native atomic operations implementation for AMD64 work, fix libatomic_ops, or upgrade your GCC." In file included from ./pulsecore/refcnt.h:27, from ./pulsecore/packet.h:30, from ./pulsecore/pdispatch.h:34, from pulse/context.c:60: ./pulsecore/atomic.h: In function `pa_atomic_cmpxchg': ./pulsecore/atomic.h:158: error: `oldval' undeclared (first use in this function) ./pulsecore/atomic.h:158: error: (Each undeclared identifier is reported only once ./pulsecore/atomic.h:158: error: for each function it appears in.) ./pulsecore/atomic.h: In function `pa_atomic_ptr_cmpxchg': ./pulsecore/atomic.h:182: warning: return makes integer from pointer without a cast make[3]: *** [libpulse_la-context.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-sound/pulseaudio-0.9.9/work/pulseaudio-0.9.9/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/media-sound/pulseaudio-0.9.9/work/pulseaudio-0.9.9/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-sound/pulseaudio-0.9.9/work/pulseaudio-0.9.9' make: *** [all] Error 2 * * ERROR: media-sound/pulseaudio-0.9.9 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2865: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-sound/pulseaudio-0.9.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/pulseaudio-0.9.9/temp/environment'. * * Messages for package media-sound/pulseaudio-0.9.9: * * ERROR: media-sound/pulseaudio-0.9.9 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2865: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/vat/tmp/portage/media-sound/pulseaudio-0.9.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/pulseaudio-0.9.9/temp/environment'. * * disabling confcache, binary cannot be found
Please refer this to upstream, although I doubt Lennart is interested in supporting pre-GCC4 compilers...