Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116772 - I can not compile xpdf with gcc 3.4.4/distcc
Summary: I can not compile xpdf with gcc 3.4.4/distcc
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-26 05:17 UTC by Ethem Bilgin
Modified: 2005-12-29 22:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ethem Bilgin 2005-12-26 05:17:55 UTC
When i switch to gcc 3.4.4 profile. It give me always this error.

make[1]: Entering directory `/var/tmp/portage/xpdf-3.01-r3/work/xpdf-3.01/fofi'
c++ -O2 -march=pentium4 -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -I.. -I./../g
oo -I. -c FoFiBase.cc
c++ -O2 -march=pentium4 -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -I.. -I./../g
oo -I. -c FoFiEncodings.cc
c++ -O2 -march=pentium4 -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -I.. -I./../g
oo -I. -c FoFiTrueType.cc
c++ -O2 -march=pentium4 -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -I.. -I./../g
oo -I. -c FoFiType1.cc
c++ -O2 -march=pentium4 -fomit-frame-pointer -pipe -DHAVE_CONFIG_H -I.. -I./../g
oo -I. -c FoFiType1C.cc
distcc[32450] ERROR: compile /var/tmp/ccache/FoFiType1C.tmp.sinkrotron.32437.ii
on 192.168.0.1 failed
In file included from /usr/include/math.h:382,
                 from FoFiType1C.cc:17:
/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.)
make[1]: *** [FoFiType1C.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/xpdf-3.01-r3/work/xpdf-3.01/fofi'
make: *** [all] Error 2

!!! ERROR: app-text/xpdf-3.01-r3 failed.
!!! Function src_compile, Line 97, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

With GCC profile 3.3.6. Package builds with success.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-26 05:36:08 UTC
emerge --info, please...
Comment 2 Ethem Bilgin 2005-12-26 05:41:27 UTC
Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gent
oo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled
]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd
e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/default
s/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://192.168.0.1/gentoo/ ftp://ftp.ankara.edu.tr/gentoo/ http:/
/distfiles.gentoo.org/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-so
urces/"
LINGUAS="en tr"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="x86 X aac aalib alsa apache2 arts audiofile avi berkdb bitmap-fonts bzip2 c
dr crypt cups curl dvd dvdread eds emboss encode esd ethereal exif expat fam fb
fbcon ffmpeg flac foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk gt
k2 idn imagemagick imlib ipv6 jabber java jpeg junit kde lcms ldap libcaca libg+
+ libwww mad mhash mikmod mmx mmxext mng motif mozilla mp3 mpeg mysql ncurses nl
s ogg oggvorbis openal opengl oss pam pcre pdflib perl png postgres python qt qu
icktime readline recode samba sdl slang spell sse sse2 ssl svga tcltk tcpd tiff
truetype truetype-fonts type1-fonts udev vorbis win32codecs xml2 xmms xv xvid zl
ib linguas_en linguas_tr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-12-26 05:57:53 UTC
glibc folks, please have a look at those includes.
Comment 4 Ethem Bilgin 2005-12-26 07:27:37 UTC
I have disabled distcc. xpdf compiled succesfully. The remote systems emerge --info is below. I have re-emerged glibc on each system. Using gcc 3.4.4. Did not helped. glibc does not compile on distcc also. But it is successfull with 3.3.6.

emerge --info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i386-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/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.ankara.edu.tr/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl eds emboss encode expat foomaticdb fortran gd gdbm gif gmp gpm gstreamer gtk2 idn imap imlib ipv6 java jpeg lcms libg++ libwww mad maildir memlimit mhash mikmod mng motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl php png postgres python quicktime readline samba sasl sdl snmp spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 5 SpanKY gentoo-dev 2005-12-26 13:04:34 UTC
are all your distcc nodes the same gcc/glibc version ?
Comment 6 Ethem Bilgin 2005-12-27 00:19:59 UTC
First emerge --info that i posted before is host system:

Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo-r2 i686)

Second emerge --info that i posted before is server system

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.12-gentoo-r10 i686)
Comment 7 Mark Loeser (RETIRED) gentoo-dev 2005-12-29 22:23:02 UTC
Have you recompiled everything on the other system with gcc-3.4.4?  Reopen this if you can still reproduce it after you do an `emerge -e world` on both boxes.  (You'll most likely have to disable distcc in order to do this)