I’m currently trying to compile Ardour2 on my Core 2 Duo, with GCC 4.3 using the march=core2 option for MOAR POWAAAH!!! But, I have a problem. Ardour2 doesn’t compile with binutils 2.17 and higher, while liblo doesn’t compile with binutils 2.16 on my computer. Ardour installed before, but that was before I recently upgraded the entire toolchain. I upgraded glibc to 2.7, and I can’t downgrade it to test if that is what caused the problem. Even if it was, if I remember correctly, GCC 4.3 doesnt work with less than glibc 2.7. If i compile liblo with binutils 2.17, ardour can’t find it.
Here is what happens during compilation:
x86_64-pc-linux-gnu-g++ -o libs/pbd/base_ui.os -c -O2 -pipe -march=core2 -DUSE_X
86_64_ASM -DARCH_X86 -mmmx -msse -mfpmath=sse -DUSE_XMMINTRIN -DBUILD_SSE_OPTIMI
ZATIONS -DUSE_X86_64_ASM -Wall -DHAVE_LIBLO -Ilibs -DENABLE_NLS -DHAVE_GETMNTENT
-pthread -Woverloaded-virtual -DPACKAGE=“libpbd” -D_REENTRANT -D_LARGEFILE_SO
URCE -D_LARGEFILE64_SOURCE -DLIBSIGC_DISABLE_DEPRECATED -DHAVE_EXECINFO -fPIC -I
/usr/include/glib-2.0 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
-I/usr/lib64/glib-2.0/include -Ilibs/pbd -I/usr/include/sigc+±2.0 -I/usr/includ
e/libxml2 -I/usr/lib64/sigc+±2.0/include libs/pbd/base_ui.cc
libs/pbd/base_ui.cc: In member function ‘int BaseUI::setup_signal_pipe()’:
libs/pbd/base_ui.cc:87: error: ‘strerror’ is not a member of ‘std’
libs/pbd/base_ui.cc:94: error: ‘strerror’ is not a member of ‘std’
libs/pbd/base_ui.cc:100: error: ‘strerror’ is not a member of ‘std’
scons: *** [libs/pbd/base_ui.os] Error 1
scons: building terminated because of errors.
*
- ERROR: media-sound/ardour-2.4.1 failed.
- Call stack:
-
ebuild.sh, line 49: Called src_compile
-
environment, line 2714: Called die
- The specific snippet of code:
-
scons $(ardour_use_enable DEBUG debug) FPU_OPTIMIZATION=${FPU_OPTIMIZAT
ION} DESTDIR="${D}" $(ardour_use_enable NLS nls) $(ardour_use_enable FREESOUND f
reesound) FFT_ANALYSIS=1 SYSLIBS=1 CFLAGS="${CFLAGS}" LV2=0 PREFIX=/usr || die "
scons failed"
-
The die message:
-
scons failed
-
If you need support, post the topmost build error, and the call stack if rele
vant. -
A complete build log is located at ‘/var/tmp/portage/media-sound/ardour-2.4.1
/temp/build.log’. -
The ebuild environment file is located at ‘/var/tmp/portage/media-sound/ardou
r-2.4.1/temp/environment’. -
Messages for package media-sound/ardour-2.4.1:
-
ERROR: media-sound/ardour-2.4.1 failed.
-
Call stack:
-
ebuild.sh, line 49: Called src_compile
-
environment, line 2714: Called die
-
The specific snippet of code:
-
scons $(ardour_use_enable DEBUG debug) FPU_OPTIMIZATION=${FPU_OPTIMIZAT ION} DESTDIR="${D}" $(ardour_use_enable NLS nls) $(ardour_use_enable FREESOUND f reesound) FFT_ANALYSIS=1 SYSLIBS=1 CFLAGS="${CFLAGS}" LV2=0 PREFIX=/usr || die " scons failed"
-
The die message:
-
scons failed
-
If you need support, post the topmost build error, and the call stack if rele vant.
-
A complete build log is located at ‘/var/tmp/portage/media-sound/ardour-2.4.1 /temp/build.log’.
-
The ebuild environment file is located at ‘/var/tmp/portage/media-sound/ardou r-2.4.1/temp/environment’.
And here is my emerge --info:
Portage 2.1.5_rc3 (default-linux/amd64/2007.0, gcc-4.3.0, glibc-2.7-r2, 2.6.24.4 x86_64)
System uname: 2.6.24.4 x86_64 Intel® Core™2 CPU 6320 @ 1.86GHz
Timestamp of tree: Sun, 13 Apr 2008 23:00:01 +0000
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python: 2.5.1-r5
sys-apps/baselayout: 1.12.12
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.16.1-r3, 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.24
ACCEPT_KEYWORDS=“amd64 ~amd64”
CBUILD=“x86_64-pc-linux-gnu”
CFLAGS="-O2 -pipe -march=core2"
CHOST=“x86_64-pc-linux-gnu”
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES=“ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch”
GENTOO_MIRRORS=“http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo”
LDFLAGS="-Wl,-O1 -Wl,-s -Wl,–hash-style=gnu"
LINGUAS=“en”
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="–recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/pro-audio /usr/portage/local/layman/initng /usr/portage/local/layman/gcc-porting"
SYNC=“rsync://rsync.gentoo.org/gentoo-portage”
USE=“X a52 aac acl acpi alsa amd64 apache2 arts bash-completion berkdb cddb cdio cli cpudetection cracklib crypt css cups dbus divx dri dts dvd dvdr dvdread emovix encode ffmpeg firefox flac fortran gdbm geoip gif gpm gtk hal iconv ipv6 isdnlog jack java jpeg kde kdehiddenvisibility ladspa lame mad midi mmx mp3 mp4 mpeg mplayer mplayer-bin mudflap multislot musepack musicbrainz ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre perl php png pppd pulseaudio python qt quicktime readline realmedia reflection rt2500pci sdl session spl sse sse2 ssl suid tcpd theora threads tiff truetype unicode utempter vcd vorbis wmp x264 xcb xcomposite xine xml xorg xvid zlib” ALSA_CARDS=“mia” ALSA_PCM_PLUGINS=“adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol” APACHE2_MODULES=“actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias” ELIBC=“glibc” INPUT_DEVICES=“keyboard mouse evdev” KERNEL=“linux” LCD_DEVICES=“bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text” LINGUAS=“en” USERLAND=“GNU” VIDEO_CARDS=“nvidia”
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS