Gentoo Archives: gentoo-ppc-user

From: "Robert K. Johnson" <rj.rkjohnson@×××××.com>
To: gentoo-ppc-user@l.g.o
Subject: [gentoo-ppc-user] Has anyone successfully compiled pkg sys-libs/glibc-2.17 for ppc-32?
Date: Thu, 10 Apr 2014 15:43:31
Message-Id: CAB6ML5mbtzTqjE=6rNw9OjUYA9OSxvyBRJrcp4FUU7SjFC==NA@mail.gmail.com
1 I am working with an embedded Freescale P2020 based system. I cannot
2 seem to successfully compile the glibc-2.17 package. I am trying to
3 update glibc from package 2.15-r2. I have tried both gcc 4.6.3 and
4 4.7.3-r1. I am thinking about submitting a bug report but I thought I
5 would ask here first. I might also try again after updating the
6 portage packages.
7
8 Here is what I see when the compilation fails:
9
10 powerpc-e500v2-linux-gnuspe-gcc ../sysdeps/powerpc/fpu/fraiseexcpt.c
11 -c -std=gnu99 -fgnu89-inline -O2 -Wa,-me500x2 -Wall -Winline
12 -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing
13 -freorder-blocks -frounding-math -mcpu=8548 -mfloat-gprs=double
14 -mspe=yes -mtune=8548 -pipe -mhard-float -Wstrict-prototypes
15 -mlong-double-128 -Wno-uninitialized -U_FORTIFY_SOURCE
16 -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -I../include
17 -I/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math
18 -I/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl
19 -I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl
20 -I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu
21 -I../sysdeps/powerpc/powerpc32/fpu
22 -I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
23 -I../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32
24 -I../sysdeps/unix/sysv/linux/powerpc/powerpc32
25 -I../nptl/sysdeps/unix/sysv/linux/powerpc
26 -I../ports/sysdeps/unix/sysv/linux/powerpc
27 -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/ieee754/ldbl-128ibm
28 -I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux
29 -I../nptl/sysdeps/pthread -I../sysdeps/pthread
30 -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux
31 -I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
32 -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv
33 -I../sysdeps/unix/powerpc -I../nptl/sysdeps/unix
34 -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix
35 -I../ports/sysdeps/powerpc/powerpc32 -I../sysdeps/powerpc/powerpc32
36 -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/fpu
37 -I../nptl/sysdeps/powerpc -I../ports/sysdeps/powerpc
38 -I../sysdeps/powerpc -I../sysdeps/ieee754/dbl-64
39 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic
40 -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem
41 /usr/lib/gcc/powerpc-e500v2-linux-gnuspe/4.7.3/include -isystem
42 /usr/lib/gcc/powerpc-e500v2-linux-gnuspe/4.7.3/include-fixed -isystem
43 /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h
44 -DNOT_IN_libc=1 -DIS_IN_libm=1 -DIN_LIB=libm -o
45 /var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fraiseexcpt.o
46 -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fraiseexcpt.o.dt
47 -MT /var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fraiseexcpt.o
48
49 ../sysdeps/powerpc/fpu/fclrexcpt.c: In function '__feclearexcept':
50 ../sysdeps/powerpc/fpu/fclrexcpt.c:28:12: error: impossible constraint in 'asm'
51 ../sysdeps/powerpc/fpu/fclrexcpt.c:35:3: error: impossible constraint in 'asm'
52 ../sysdeps/powerpc/fpu/fclrexcpt.c:35:3: error: impossible constraint in 'asm'
53 ../sysdeps/powerpc/fpu/fgetexcptflg.c: In function '__fegetexceptflag':
54 ../sysdeps/powerpc/fpu/fgetexcptflg.c:28:12: error: impossible
55 constraint in 'asm'make[2]: ***
56 [/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fclrexcpt.o]
57 Error 1
58 make[2]: *** Waiting for unfinished jobs....
59
60 ../sysdeps/powerpc/fpu/fraiseexcpt.c: In function '__feraiseexcept':
61 ../sysdeps/powerpc/fpu/fraiseexcpt.c:34:12: error: impossible
62 constraint in 'asm'
63 ../sysdeps/powerpc/fpu/fraiseexcpt.c:45:3: error: impossible constraint in 'asm'
64 ../sysdeps/powerpc/fpu/fraiseexcpt.c:45:3: error: impossible constraint in 'asm'
65 ../sysdeps/powerpc/fpu/fraiseexcpt.c:52:16: error: impossible
66 constraint in 'asm'
67 make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fgetexcptflg.o]
68 Error 1
69 make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fraiseexcpt.o]
70 Error 1
71 make[2]: Leaving directory
72 `/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17/math'
73 make[1]: *** [math/others] Error 2
74 make[1]: Leaving directory
75 `/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
76 make: *** [all] Error 2
77 emake failed
78 * ERROR: sys-libs/glibc-2.17 failed (compile phase):
79 * make for default failed
80 *
81 * Call stack:
82 * ebuild.sh, line 93: Called src_compile
83 * environment, line 3080: Called eblit-run 'src_compile'
84 * environment, line 851: Called eblit-glibc-src_compile
85 * src_compile.eblit, line 267: Called toolchain-glibc_src_compile
86 * src_compile.eblit, line 166: Called die
87 * The specific snippet of code:
88 * emake || die "make for ${ABI} failed"
89
90
91 Here is some additional info:
92
93 # emerge --info
94 Portage 2.1.12.2 (default/linux/powerpc/ppc32/13.0, gcc-4.7.3,
95 glibc-2.15-r2, 3.0.4-xes_r7 ppc)
96 =================================================================
97 System uname: Linux-3.0.4-xes_r7-ppc-e500v2-with-gentoo-2.1
98 KiB Mem: 2072552 total, 735924 free
99 KiB Swap: 0 total, 0 free
100 Timestamp of tree: Wed, 09 Apr 2014 17:00:01 +0000
101 ld GNU ld (GNU Binutils) 2.22
102 app-shells/bash: 4.2_p37
103 dev-lang/python: 2.7.3-r2, 3.2.3
104 dev-util/pkgconfig: 0.27.1
105 sys-apps/baselayout: 2.1-r1
106 sys-apps/openrc: 0.10.4
107 sys-apps/sandbox: 2.6
108 sys-devel/autoconf: 2.68
109 sys-devel/automake: 1.11.6, 1.13.4
110 sys-devel/binutils: 2.22-r1
111 sys-devel/gcc: 4.6.3, 4.7.3-r1
112 sys-devel/gcc-config: 1.7.3
113 sys-devel/libtool: 2.4.2
114 sys-devel/make: 3.82-r3
115 sys-kernel/linux-headers: 3.1 (virtual/os-headers)
116 sys-libs/glibc: 2.15-r2::x-portage
117 Repositories: gentoo x-portage
118 ACCEPT_KEYWORDS="ppc"
119 ACCEPT_LICENSE="* -@EULA"
120 CBUILD="powerpc-e500v2-linux-gnuspe"
121 CFLAGS="-O2 -mcpu=8548 -mtune=8548 -mabi=spe -mspe=yes -Wa,-me500x2
122 -mfloat-gprs=double -pipe"
123 CHOST="powerpc-e500v2-linux-gnuspe"
124 CONFIG_PROTECT="/etc"
125 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
126 /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
127 CXXFLAGS="-O2 -mcpu=8548 -mtune=8548 -mabi=spe -mspe=yes -Wa,-me500x2
128 -mfloat-gprs=double -pipe"
129 DISTDIR="/usr/portage/distfiles"
130 FCFLAGS="-O2 -pipe"
131 FEATURES="assume-digests binpkg-logs config-protect-if-modified
132 distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
133 preserve-libs protect-owned sandbox sfperms strict
134 unknown-features-warn unmerge-logs unmerge-orphans userfetch"
135 FFLAGS="-O2 -pipe"
136 GENTOO_MIRRORS="http://distfiles.gentoo.org rsync://gentoo.xes-inc.com/20120925"
137 LDFLAGS="-Wl,-O1 -Wl,--as-needed"
138 MAKEOPTS="-j3"
139 PKGDIR="/usr/portage/packages"
140 PORTAGE_CONFIGROOT="/"
141 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
142 --compress --force --whole-file --delete --stats --human-readable
143 --timeout=180 --exclude=/distfiles --exclude=/local
144 --exclude=/packages"
145 PORTAGE_TMPDIR="/var/tmp"
146 PORTDIR="/usr/portage"
147 PORTDIR_OVERLAY="/usr/local/portage"
148 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
149 USE="acl berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv
150 ipv6 modules ncurses nptl openmp pam pcre ppc readline session ssl
151 tcpd unicode zlib" ABI_PPC="32" ALSA_CARDS="aoa aoa-fabric-layout
152 aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac
153 usb-audio via82xx" APACHE2_MODULES="authn_core authz_core
154 socache_shmcb unixd actions alias auth_basic authn_alias authn_anon
155 authn_dbm authn_default authn_file authz_dbm authz_default
156 authz_groupfile authz_host authz_owner authz_user autoindex cache cgi
157 cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
158 file_cache filter headers include info log_config logio mem_cache mime
159 mime_magic negotiation rewrite setenvif speling status unique_id
160 userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan
161 sheets stage tables krita karbon braindump author" CAMERAS="ptp2"
162 COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
163 ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18
164 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver
165 oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip
166 tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev"
167 KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
168 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
169 presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice"
170 PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7"
171 PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20"
172 USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon
173 savage tdfx trident dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan
174 length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit
175 sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
176 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
177 LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS,
178 PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Replies

Subject Author
[gentoo-ppc-user] Re: Has anyone successfully compiled pkg sys-libs/glibc-2.17 for ppc-32? "Robert K. Johnson" <rj.rkjohnson@×××××.com>