[gentoo-user] Compile errors with /usr/include/bits/mathinline.h:433: error: `__builtin_atan2l' undeclared

2006-01-05 Thread Alexander Skwar
Good evening!

In a number of packages, I'm lately (ie. since yesterday
(2006-01-05)) seeing compile errors like the following:

../../dist/bin/xpidl -m typelib -w -I ../../dist/idl -I. -o _xpidlgen/nsrootidl 
nsrootidl.idl
../../dist/bin/xpt_link _xpidlgen/xpcom_base.xpt 
_xpidlgen/nsIConsoleListener.xpt _xpidlgen/nsIConsoleMessage.xpt 
_xpidlgen/nsIConsoleService.xpt
_xpidlgen/nsIErrorService.xpt _xpidlgen/nsIException.xpt 
_xpidlgen/nsIExceptionService.xpt _xpidlgen/nsIDebug.xpt 
_xpidlgen/nsIInterfaceRequestor.xpt
_xpidlgen/nsIMemory.xpt _xpidlgen/nsIProgrammingLanguage.xpt 
_xpidlgen/nsISupports.xpt _xpidlgen/nsITraceRefcnt.xpt 
_xpidlgen/nsIWeakReference.xpt
_xpidlgen/nsrootidl.xpt
In file included from /usr/include/math.h:382,
 from nsStackFrameUnix.cpp:38:
/usr/include/bits/mathinline.h: In function `long double __atan2l(long double,
   long double)':
/usr/include/bits/mathinline.h:433: error: `__builtin_atan2l' undeclared (first
   use this function)
/usr/include/bits/mathinline.h:433: error: (Each undeclared identifier is
   reported only once for each function it appears in.)
distcc[1106] ERROR: compile nsStackFrameUnix.cpp on 10.233.16.99,lzo failed
gmake[3]: *** [nsStackFrameUnix.o] Fehler 1
gmake[3]: *** Warte auf noch nicht beendete Prozesse...
gmake[3]: Leaving directory 
`/0b/Gentoo/portage/tmp/portage/mozilla-1.7.12-r2/work/mozilla/xpcom/base'
gmake[2]: *** [libs] Fehler 2
gmake[2]: Leaving directory 
`/0b/Gentoo/portage/tmp/portage/mozilla-1.7.12-r2/work/mozilla/xpcom'
gmake[1]: *** [tier_2] Fehler 2
gmake[1]: Leaving directory 
`/0b/Gentoo/portage/tmp/portage/mozilla-1.7.12-r2/work/mozilla'
make: *** [default] Fehler 2

!!! ERROR: www-client/mozilla-1.7.12-r2 failed.

As you can see, this error was from mozilla. Another instance
was with mkvtoolnix or rather wxWindows, I suppose - see
comment #1 @ bug 116828 - https://bugs.gentoo.org/116828#c1

Hmm, I now found bug 63891 https://bugs.gentoo.org/63891.
But that bug has no solution - other than all of a sudden
it works.

Hmm, am I having these issues, because I use different gcc
versions on my distcc nodes? One is running 3.4.5 while the
other is still at 3.3.6.

[00:18:52 [EMAIL PROTECTED]:~] $ epm -qf /usr/include/bits/mathinline.h
glibc-2.3.5-r3
[00:19:10 [EMAIL PROTECTED]:~] $ emerge info
Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 
2.6.14-gentoo-r6.05 i686)
=
System uname: 2.6.14-gentoo-r6.05 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.12.0_pre13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox:1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS=x86 ~x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-O2 -march=pentium4 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3.4/env 
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config 
/usr/lib/X11/xkb /usr/share/config /var/qmail/control
CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d
CXXFLAGS=-O2 -march=pentium4 -pipe
DISTDIR=/Gentoo/portage/distfiles
FEATURES=autoconfig buildpkg ccache collision-protect distcc distlocks sandbox 
sfperms strict
GENTOO_MIRRORS=http://localhost/~vz6tml/gentoo-files 
http://dewup-ww02.dewup.europe.delphiauto.net/~vz6tml/gentoo-files
http://localhost/gentoo-files/ 
http://dewup-ww02.dewup.europe.delphiauto.net/gentoo-files/ 
http://localhost/~vz6tml/gentoo-files/
http://cifs-srvr1.europe.delphiauto.net/~vz6tml/Misc._Software/Gentoo/  
ftp://pandemonium.tiscali.de/pub/gentoo/
http://localhost:60081/pub/Mirrors/gentoo/ 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://localhost:60080/pub/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/   
http://localhost:60082/mirror/rsync.gentoo.org/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://pandemonium.tiscali.de/pub/gentoo/
http://localhost:60083/pub/linux/distributions/gentoo/ 
http://distro.ibiblio.org/pub/linux/distributions/gentoo/   
http://localhost:60084/
http://distfiles.gentoo.org/ 
LANG=de_DE.UTF-8
LINGUAS=de
MAKEOPTS=-j4
PKGDIR=/Gentoo/portage/packages
PORTAGE_TMPDIR=/Gentoo/portage/tmp
PORTDIR=/Gentoo/portage/tree
PORTDIR_OVERLAY=/Gentoo/portage/local-tree/misc
SYNC=rsync://localhost:10873/gentoo-portage
USE=x86 7zip GAPING_SECURITY_HOLE X acl apache apache2 artworkextra async 
audiofile avi bash-completion berkdb bitmap-fonts bzip2 ccache ck-server
crypt css cups curl dbus dvd encode exif expat fam fat ffmpeg firefox 
font-server foomaticdb gd gdbm gif gmail gmailtimestamps gmp gnome gpm gs gtk
gtk2 hal hfs 

Re: [gentoo-user] Compile errors with /usr/include/bits/mathinline.h:433: error: `__builtin_atan2l' undeclared

2006-01-05 Thread Richard Fish
On 1/5/06, Alexander Skwar [EMAIL PROTECTED] wrote:
 Hmm, am I having these issues, because I use different gcc
 versions on my distcc nodes? One is running 3.4.5 while the
 other is still at 3.3.6.

Not sure, but running different versions of GCC with distcc is almost
certainly going to lead to breakage.  And the distcc documentation
states you must use the same version:

http://www.gentoo.org/doc/en/distcc.xml

-Richard

-- 
gentoo-user@gentoo.org mailing list