Gentoo Archives: gentoo-alt

From: John Helliwell <john.helliwell@×××××.com>
To: gentoo-alt@l.g.o
Subject: RE: [gentoo-alt] Prefix fails to bootstrap on Solaris 11
Date: Wed, 17 May 2017 13:08:04
Message-Id: 006c01d2cf0e$9be14810$d3a3d830$@gmail.com
In Reply to: Re: [gentoo-alt] Prefix fails to bootstrap on Solaris 11 by Fabian Groffen
1 Hi Fabian,
2
3 This reports
4
5 # ldd /lib/libelf.so.1
6 libz.so.1 => /lib/libz.so.1
7 libc.so.1 => /lib/libc.so.1
8
9 Thanks
10
11 John Helliwell
12
13 -----Original Message-----
14 From: Fabian Groffen [mailto:grobian@g.o]
15 Sent: 17 May 2017 13:36
16 To: gentoo-alt@l.g.o
17 Subject: Re: [gentoo-alt] Prefix fails to bootstrap on Solaris 11
18
19 On 17-05-2017 13:26:56 +0100, John Helliwell wrote:
20 > Phew, that went badly.
21 >
22 > I guess the error messages about /proc/mounts missing, and “Your
23 > kernel is broken” mean glibc on Solaris is a no go.
24
25 Yup. It was adventurous, but sticking to the SunOS/Solaris libc is probably the best choice to get something working.
26
27 > So I’m back to my original problem of pkgconfig with internal-glib
28 > failing
29
30 so it appears libelf.so is somehow added into the dependencies, this one needs the deflate symbols if I read your error correctly. The libelf.so I have depends on libc and libm (according to ldd), what does ldd on your libelf.so report?
31
32 Thanks,
33 Fabian
34
35 >
36 > Cheers
37 >
38 > John Helliwell
39 >
40 > From: John Helliwell [mailto:john.helliwell@×××××.com]
41 > Sent: 16 May 2017 21:51
42 > To: gentoo-alt@l.g.o
43 > Subject: Re: [gentoo-alt] Prefix fails to bootstrap on Solaris 11
44 >
45 > Hi,
46 >
47 > You gave me an idea. You posted the Solaris man page for libresolv,
48 > and I wondered if the GNU man page for resolver would be more
49 > appropriate, since we are using a GNU toolchain. Of course on Linux
50 > those resolver functions are provided by glibc.
51 >
52 > I'm going to try bootstrapping Prefix / glibc (RAP)
53 >
54 > Will let you know how that goes
55 >
56 > On Tue, May 16, 2017 at 8:33 PM +0100, "Fabian Groffen"
57 > <[1]grobian@g.o>
58 > wrote:
59 >
60 > > Hi!
61 >
62 > >
63 >
64 > > [2]https://forums.gentoo.org/viewtopic-p-8065614.html?sid=95636da82f
65 > > 97a16259d38eeecbdbab5e
66 >
67 > >
68 >
69 > > Is this the same problem?
70 >
71 > >
72 >
73 > > Does -lresolv -lsocket -lnsl work by chance?
74 >
75 > > ([3]https://docs.oracle.com/cd/E23824_01/html/821-1464/libresolv-3li
76 > > b.html)
77 >
78 > >
79 >
80 > > Thanks,
81 >
82 > > Fabian
83 >
84 > >
85 >
86 > > On 16-05-2017 15:30:16 +0100, John Helliwell wrote:
87 >
88 > > > Hi,
89 >
90 > > >
91 >
92 > > > I'm having trouble with bootstrap-prefix.sh on the Intel version
93 > > > of Solaris
94 >
95 > > > 11.3 - This doesn't come with a C compiler pre-installed, and so I
96 > > > installed
97 >
98 > > > one as such :-
99 >
100 > > >
101 >
102 > > > pkg install pkg://solaris/developer/build/gnu-make \
103 >
104 > > > pkg://solaris/developer/build/make \
105 >
106 > > > pkg://solaris/developer/gcc \
107 >
108 > > > pkg://solaris/system/header \
109 >
110 > > > pkg://solaris/developer/build/autoconf \
111 >
112 > > > pkg://solaris/developer/build/automake
113 >
114 > > >
115 >
116 > > > This results in a gcc 4.8.2 at /usr/bin/gcc, and a GNU linker
117 > > > /usr/bin/gld
118 >
119 > > > 2.23.1. The original Solaris linker is intact at /usr/bin/ld
120 >
121 > > >
122 >
123 > > > Oracle Corporation SunOS 5.11 11.3 September 2015
124 >
125 > > > root@sprawl:~# type gcc
126 >
127 > > > gcc is /usr/bin/gcc
128 >
129 > > > root@sprawl:~# gcc -v
130 >
131 > > > Using built-in specs.
132 >
133 > > > COLLECT_GCC=gcc
134 >
135 > > > COLLECT_LTO_WRAPPER=/usr/gcc/4.8/lib/gcc/i386-pc-solaris2.11/4.8.2
136 > > > /lto-wrapp
137 >
138 > > > er
139 >
140 > > > Target: i386-pc-solaris2.11
141 >
142 > > > Configured with:
143 >
144 > > > /builds/hudson/workspace/nightly-update/build/i386/components/gcc48/gcc-4.8.
145 >
146 > > > 2/configure CC=/usr/gcc/4.7/bin/gcc CXX=/usr/gcc/4.7/bin/g++
147 >
148 > > > --prefix=/usr/gcc/4.8 --mandir=/usr/gcc/4.8/share/man
149 >
150 > > > --bindir=/usr/gcc/4.8/bin --libdir=/usr/gcc/4.8/lib
151 >
152 > > > --sbindir=/usr/gcc/4.8/sbin --infodir=/usr/gcc/4.8/share/info
153 >
154 > > > --libexecdir=/usr/gcc/4.8/lib
155 > > > --enable-languages=c,c++,fortran,objc
156 >
157 > > > --enable-shared --with-gmp-include=/usr/include/gmp
158 >
159 > > > --with-mpfr-include=/usr/include/mpfr --without-gnu-ld
160 > > > --with-ld=/usr/bin/ld
161 >
162 > > > --with-gnu-as --with-as=/usr/gnu/bin/as CFLAGS='-g -O2
163 > > > -mtune=opteron
164 >
165 > > > -march=opteron' CXXFLAGS='-g -O2 -mtune=opteron -march=opteron'
166 >
167 > > > Thread model: posix
168 >
169 > > > gcc version 4.8.2 (GCC)
170 >
171 > > >
172 >
173 > > > root@sprawl:~# ld --version
174 >
175 > > > ld: Software Generation Utilities - Solaris Link Editors:
176 > > > 5.11-1.2458
177 >
178 > > > root@sprawl:~# gld -v
179 >
180 > > > GNU ld (GNU Binutils) 2.23.1
181 >
182 > > >
183 >
184 > > > The bootstrap fails during stage 3. It attempts to emerge bash,
185 > > > which
186 >
187 > > > requires pkgconfig. The configure phase of pkgconfig fails. It
188 > > > looks like
189 >
190 > > > USE flag "internal-glib" is specified, and so the configure script
191 > > > of glib
192 >
193 > > > is called. It fails with
194 >
195 > > >
196 >
197 > > > checking for res_query... configure: error: not found
198 >
199 > > > configure: error:
200 >
201 > > > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.
202 > > > 1/work/pkg
203 >
204 > > > -config-0.29.1/glib/configure failed for glib
205 >
206 > > >
207 >
208 > > > Here is the emerge info for pkgconfig
209 >
210 > > >
211 >
212 > > > johnh@sprawl:~/gentoo$ emerge --info =dev-util/pkgconfig-0.29.1
213 >
214 > > > Portage 2.3.5-prefix (python 2.7.3-final-0,
215 > > > prefix/sunos/solaris/5.11/x86,
216 >
217 > > > gcc-5.3.0, unavailable, 5.11 i86pc)
218 >
219 > > > =================================================================
220 >
221 > > > System Settings
222 >
223 > > > =================================================================
224 >
225 > > > System uname: Solaris-2.11-i86pc-i386-32bit-ELF
226 >
227 > > > Timestamp of repository gentoo_prefix: Wed, 05 Apr 2017 21:58:20
228 > > > +0000
229 >
230 > > > sh bash 4.3_p48
231 >
232 > > > ld GNU ld (Gentoo 2.27 p1.0) 2.27
233 >
234 > > > sys-devel/binutils: 2.27::gentoo_prefix
235 >
236 > > > sys-devel/gcc: 5.3.0::gentoo_prefix
237 >
238 > > > sys-devel/gcc-config: 1.8-r01.1::gentoo_prefix
239 >
240 > > > Repositories:
241 >
242 > > >
243 >
244 > > > gentoo_prefix
245 >
246 > > > location: /export/home/johnh/gentoo/usr/portage
247 >
248 > > > sync-type: rsync
249 >
250 > > > sync-uri:
251 > > >rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix
252 >
253 > > > priority: -1000
254 >
255 > > >
256 >
257 > > > ACCEPT_KEYWORDS="~x86-solaris"
258 >
259 > > > ACCEPT_LICENSE="* -@EULA"
260 >
261 > > > CBUILD="i386-pc-solaris2.11"
262 >
263 > > > CFLAGS=" -O2 -pipe"
264 >
265 > > > CHOST="i386-pc-solaris2.11"
266 >
267 > > > CONFIG_PROTECT="/etc"
268 >
269 > > > CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release
270 >
271 > > > /etc/terminfo"
272 >
273 > > > CXXFLAGS=" -O2 -pipe"
274 >
275 > > > DISTDIR="/export/home/johnh/gentoo/tmp/usr/portage/distfiles"
276 >
277 > > > FCFLAGS=""
278 >
279 > > > FEATURES="assume-digests binpkg-logs case-insensitive-fs
280 > > > collision-protect
281 >
282 > > > config-protect-if-modified distlocks ebuild-locks fixlafiles
283 > > > force-prefix
284 >
285 > > > merge-sync news nostrip parallel-fetch preserve-libs protect-owned
286 > > > sfperms
287 >
288 > > > strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged"
289 >
290 > > > FFLAGS=""
291 >
292 > > > GENTOO_MIRRORS="[4]http://distfiles.gentoo.org"
293 >
294 > > > LANG="en_US.UTF-8"
295 >
296 > > > LC_ALL=""
297 >
298 > > > LDFLAGS=""
299 >
300 > > > MAKEOPTS="-j1"
301 >
302 > > > PKGDIR="/export/home/johnh/gentoo/tmp/usr/portage/packages"
303 >
304 > > > PORTAGE_CONFIGROOT="/export/home/johnh/gentoo/tmp/"
305 >
306 > > > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms
307 > > > --times
308 >
309 > > > --omit-dir-times --compress --force --whole-file --delete --stats
310 >
311 > > > --human-readable --timeout=180 --exclude=/distfiles
312 > > > --exclude=/local
313 >
314 > > > --exclude=/packages --exclude=/.git"
315 >
316 > > > PORTAGE_TMPDIR="/export/home/johnh/gentoo/tmp/var/tmp"
317 >
318 > > > USE="cracklib cxx ipv6 modules ncurses nls prefix prefix-guest
319 > > > readline ssl
320 >
321 > > > unicode x86-solaris zlib" ABI_X86="32" APACHE2_MODULES="authn_core
322 >
323 > > > authz_core socache_shmcb unixd actions alias auth_basic
324 > > > authn_alias
325 >
326 > > > authn_anon authn_dbm authn_default authn_file authz_dbm
327 > > > authz_default
328 >
329 > > > authz_groupfile authz_host authz_owner authz_user autoindex cache
330 > > > cgi cgid
331 >
332 > > > dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
333 > > > file_cache
334 >
335 > > > filter headers include info log_config logio mem_cache mime
336 > > > mime_magic
337 >
338 > > > negotiation rewrite setenvif speling status unique_id userdir
339 > > > usertrack
340 >
341 > > > vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage
342 > > > tables
343 >
344 > > > krita karbon braindump author" COLLECTD_PLUGINS="df interface irq
345 > > > load
346 >
347 > > > memory rrdtool swap syslog" ELIBC="SunOS" GPSD_PROTOCOLS="ashtech
348 > > > aivdm
349 >
350 > > > earthmate evermore fv18 garmin garmintxt gpsclock isync itrax
351 > > > mtk3301 nmea
352 >
353 > > > ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf
354 > > > skytraq
355 >
356 > > > superstar2 timing tsip tripmate tnt ublox ubx"
357 > > > INPUT_DEVICES="keyboard
358 >
359 > > > mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk
360 > > > hd44780 lb216
361 >
362 > > > lcdm001 mtxorb ncurses text"
363 > > > LIBREOFFICE_EXTENSIONS="presenter-console
364 >
365 > > > presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice"
366 >
367 > > > PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7"
368 >
369 > > > PYTHON_TARGETS="python2_7 python3_5 python3_4" RUBY_TARGETS="ruby21"
370 >
371 > > > USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2
372 > > > ipv4options
373 >
374 > > > ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal
375 > > > rawnat
376 >
377 > > > logmark ipmark dhcpmac delude chaos account"
378 >
379 > > > Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS,
380 > > > INSTALL_MASK,
381 >
382 > > > PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
383 >
384 > > > PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
385 >
386 > > >
387 >
388 > > > Here is the entire emerge output
389 >
390 > > >
391 >
392 > > > >>> Emerging (8 of 11) dev-util/pkgconfig-0.29.1::gentoo_prefix
393 >
394 > > > * pkg-config-0.29.1.tar.gz SHA256 SHA512 size ;-) ...
395 > > >[
396 >
397 > > > ok ]
398 >
399 > > > >>> Unpacking source...
400 >
401 > > > >>> Unpacking pkg-config-0.29.1.tar.gz to
402 >
403 > > > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.
404 > > > 1/work
405 >
406 > > > >>> Source unpacked in
407 >
408 > > > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.
409 > > > 1/work
410 >
411 > > > >>> Preparing source in
412 >
413 > > > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.
414 > > > 1/work/pkg
415 >
416 > > > -config-0.29.1 ...
417 >
418 > > > * Running elibtoolize in: pkg-config-0.29.1/
419 >
420 > > > * Applying portage/1.2.0 patch ...
421 >
422 > > > * Applying sed/1.5.6 patch ...
423 >
424 > > > * Applying as-needed/2.4.3 patch ...
425 >
426 > > > * Applying ppc64le/2.4.4 patch ...
427 >
428 > > > * Running elibtoolize in: pkg-config-0.29.1/glib/
429 >
430 > > > * Applying portage/1.2.0 patch ...
431 >
432 > > > * Applying sed/1.5.6 patch ...
433 >
434 > > > * Applying as-needed/2.4.3 patch ...
435 >
436 > > > * Applying ppc64le/2.4.4 patch ...
437 >
438 > > > >>> Source prepared.
439 >
440 > > > >>> Configuring source in
441 >
442 > > > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.
443 > > > 1/work/pkg
444 >
445 > > > -config-0.29.1 ...
446 >
447 > > > * abi_x86_32.x86: running multilib-minimal_abi_src_configure
448 >
449 > > > * Appending a library link instruction (-lintl); libraries to
450 > > >link to
451 >
452 > > > should not be passed through LDFLAGS
453 >
454 > > > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.
455 > > > 1/work/pkg
456 >
457 > > > -config-0.29.1/configure --prefix=/export/home/johnh/gentoo/usr
458 >
459 > > > --build=i386-pc-solaris2.11 --host=i386-pc-solaris2.11
460 >
461 > > > --mandir=/export/home/johnh/gentoo/usr/share/man
462 >
463 > > > --infodir=/export/home/johnh/gentoo/usr/share/info
464 >
465 > > > --datadir=/export/home/johnh/gentoo/usr/share
466 >
467 > > > --sysconfdir=/export/home/johnh/gentoo/etc
468 >
469 > > > --localstatedir=/export/home/johnh/gentoo/var/lib
470 >
471 > > > --disable-dependency-tracking --disable-silent-rules
472 >
473 > > > --docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1
474 >
475 > > > --htmldir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1
476 > > > /html
477 >
478 > > > --libdir=/export/home/johnh/gentoo/usr/lib
479 >
480 > > > --docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/
481 > > > html
482 >
483 > > > --with-system-include-path=/export/home/johnh/gentoo/usr/include
484 >
485 > > > --with-system-library-path=/export/home/johnh/gentoo/usr/lib
486 >
487 > > > --with-internal-glib --with-libiconv=gnu
488 >
489 > > > checking for a BSD-compatible install...
490 >
491 > > > /export/home/johnh/gentoo/tmp/bin/install -c
492 >
493 > > > checking whether build environment is sane... yes
494 >
495 > > > checking for a thread-safe mkdir -p...
496 >
497 > > > /export/home/johnh/gentoo/tmp/bin/mkdir -p
498 >
499 > > > checking for gawk... gawk
500 >
501 > > > checking whether gmake sets $(MAKE)... yes
502 >
503 > > > checking whether gmake supports nested variables... yes
504 >
505 > > > checking build system type... i386-pc-solaris2.11
506 >
507 > > > checking host system type... i386-pc-solaris2.11
508 >
509 > > > checking how to print strings... print -r
510 >
511 > > > checking for style of include used by gmake... GNU
512 >
513 > > > checking for i386-pc-solaris2.11-gcc... i386-pc-solaris2.11-gcc
514 >
515 > > > checking whether the C compiler works... yes
516 >
517 > > > checking for C compiler default output file name... a.out
518 >
519 > > > checking for suffix of executables...
520 >
521 > > > checking whether we are cross compiling... no
522 >
523 > > > checking for suffix of object files... o
524 >
525 > > > checking whether we are using the GNU C compiler... yes
526 >
527 > > > checking whether i386-pc-solaris2.11-gcc accepts -g... yes
528 >
529 > > > checking for i386-pc-solaris2.11-gcc option to accept ISO C89...
530 > > > none needed
531 >
532 > > > checking whether i386-pc-solaris2.11-gcc understands -c and -o together...
533 >
534 > > > yes
535 >
536 > > > checking dependency style of i386-pc-solaris2.11-gcc... none
537 >
538 > > > checking for a sed that does not truncate output...
539 >
540 > > > /export/home/johnh/gentoo/bin/sed
541 >
542 > > > checking for grep that handles long lines and -e...
543 >
544 > > > /export/home/johnh/gentoo/tmp/bin/grep
545 >
546 > > > checking for egrep... /export/home/johnh/gentoo/tmp/bin/grep -E
547 >
548 > > > checking for fgrep... /export/home/johnh/gentoo/tmp/bin/grep -F
549 >
550 > > > checking for ld used by i386-pc-solaris2.11-gcc...
551 >
552 > > > /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld
553 >
554 > > > checking if the linker
555 >
556 > > > (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) is GNU
557 > > > ld... yes
558 >
559 > > > checking for BSD- or MS-compatible name lister (nm)...
560 >
561 > > > /export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B
562 >
563 > > > checking the name lister
564 >
565 > > > (/export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B)
566 > > > interface... BSD
567 >
568 > > > nm
569 >
570 > > > checking whether ln -s works... yes
571 >
572 > > > checking the maximum length of command line arguments... 786240
573 >
574 > > > checking how to convert i386-pc-solaris2.11 file names to
575 >
576 > > > i386-pc-solaris2.11 format... func_convert_file_noop
577 >
578 > > > checking how to convert i386-pc-solaris2.11 file names to
579 > > > toolchain
580 >
581 > > > format... func_convert_file_noop
582 >
583 > > > checking for
584 > > > /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld option
585 >
586 > > > to reload object files... -r
587 >
588 > > > checking for i386-pc-solaris2.11-objdump...
589 > > > i386-pc-solaris2.11-objdump
590 >
591 > > > checking how to recognize dependent libraries... pass_all
592 >
593 > > > checking for i386-pc-solaris2.11-dlltool... no
594 >
595 > > > checking for dlltool... no
596 >
597 > > > checking how to associate runtime and link libraries... print -r
598 > > > --
599 >
600 > > > checking for i386-pc-solaris2.11-ar... i386-pc-solaris2.11-ar
601 >
602 > > > checking for archiver @FILE support... @
603 >
604 > > > checking for i386-pc-solaris2.11-strip...
605 > > > i386-pc-solaris2.11-strip
606 >
607 > > > checking for i386-pc-solaris2.11-ranlib...
608 > > > i386-pc-solaris2.11-ranlib
609 >
610 > > > checking command to parse
611 >
612 > > > /export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B output
613 > > > from
614 >
615 > > > i386-pc-solaris2.11-gcc object... ok
616 >
617 > > > checking for sysroot... no
618 >
619 > > > checking for a working dd... /export/home/johnh/gentoo/tmp/bin/dd
620 >
621 > > > checking how to truncate binary pipes...
622 >
623 > > > /export/home/johnh/gentoo/tmp/bin/dd bs=4096 count=1
624 >
625 > > > checking for i386-pc-solaris2.11-mt... no
626 >
627 > > > checking for mt... mt
628 >
629 > > > checking if mt is a manifest tool... no
630 >
631 > > > checking how to run the C preprocessor... i386-pc-solaris2.11-gcc
632 > > > -E
633 >
634 > > > checking for ANSI C header files... yes
635 >
636 > > > checking for sys/types.h... yes
637 >
638 > > > checking for sys/stat.h... yes
639 >
640 > > > checking for stdlib.h... yes
641 >
642 > > > checking for string.h... yes
643 >
644 > > > checking for memory.h... yes
645 >
646 > > > checking for strings.h... yes
647 >
648 > > > checking for inttypes.h... yes
649 >
650 > > > checking for stdint.h... yes
651 >
652 > > > checking for unistd.h... yes
653 >
654 > > > checking for dlfcn.h... yes
655 >
656 > > > checking for objdir... .libs
657 >
658 > > > checking if i386-pc-solaris2.11-gcc supports -fno-rtti
659 > > > -fno-exceptions... no
660 >
661 > > > checking for i386-pc-solaris2.11-gcc option to produce PIC...
662 > > > -fPIC -DPIC
663 >
664 > > > checking if i386-pc-solaris2.11-gcc PIC flag -fPIC -DPIC works...
665 > > > yes
666 >
667 > > > checking if i386-pc-solaris2.11-gcc static flag -static works...
668 > > > no
669 >
670 > > > checking if i386-pc-solaris2.11-gcc supports -c -o file.o... yes
671 >
672 > > > checking if i386-pc-solaris2.11-gcc supports -c -o file.o...
673 > > > (cached) yes
674 >
675 > > > checking whether the i386-pc-solaris2.11-gcc linker
676 >
677 > > > (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld)
678 > > > supports shared
679 >
680 > > > libraries... yes
681 >
682 > > > checking whether -lc should be explicitly linked in... no
683 >
684 > > > checking dynamic linker characteristics... solaris2.11 ld.so
685 >
686 > > > checking how to hardcode library paths into programs... immediate
687 >
688 > > > checking whether stripping libraries is possible... yes
689 >
690 > > > checking if libtool supports shared libraries... yes
691 >
692 > > > checking whether to build shared libraries... yes
693 >
694 > > > checking whether to build static libraries... yes
695 >
696 > > > checking whether gmake supports nested variables... (cached) yes
697 >
698 > > > checking for special C compiler options needed for large files...
699 > > > no
700 >
701 > > > checking for _FILE_OFFSET_BITS value needed for large files... 64
702 >
703 > > > checking for i386-pc-solaris2.11-gcc... (cached)
704 > > > i386-pc-solaris2.11-gcc
705 >
706 > > > checking whether we are using the GNU C compiler... (cached) yes
707 >
708 > > > checking whether i386-pc-solaris2.11-gcc accepts -g... (cached)
709 > > > yes
710 >
711 > > > checking for i386-pc-solaris2.11-gcc option to accept ISO C89...
712 > > > (cached)
713 >
714 > > > none needed
715 >
716 > > > checking whether i386-pc-solaris2.11-gcc understands -c and -o together...
717 >
718 > > > (cached) yes
719 >
720 > > > checking dependency style of i386-pc-solaris2.11-gcc... (cached)
721 > > > none
722 >
723 > > > checking for ln... ln
724 >
725 > > > checking dirent.h usability... yes
726 >
727 > > > checking dirent.h presence... yes
728 >
729 > > > checking for dirent.h... yes
730 >
731 > > > checking for unistd.h... (cached) yes
732 >
733 > > > checking sys/wait.h usability... yes
734 >
735 > > > checking sys/wait.h presence... yes
736 >
737 > > > checking for sys/wait.h... yes
738 >
739 > > > checking malloc.h usability... yes
740 >
741 > > > checking malloc.h presence... yes
742 >
743 > > > checking for malloc.h... yes
744 >
745 > > > checking for bash... /export/home/johnh/gentoo/bin/bash
746 >
747 > > > checking for default search path for .pc files...
748 >
749 > > > ${libdir}/pkgconfig:${datadir}/pkgconfig
750 >
751 > > > checking for system include path to avoid -I flags...
752 >
753 > > > /export/home/johnh/gentoo/usr/include
754 >
755 > > > checking for system library path to avoid -L flags...
756 >
757 > > > /export/home/johnh/gentoo/usr/lib
758 >
759 > > > configure: creating ./config.lt
760 >
761 > > > config.lt: creating libtool
762 >
763 > > > checking whether to list both direct and indirect dependencies...
764 > > > no
765 >
766 > > > checking for Win32... no
767 >
768 > > > checking if prefix should be redefined at runtime... no
769 >
770 > > > checking if internal glib should be used... yes
771 >
772 > > > checking if host- prefixed tool should be installed... yes
773 >
774 > > > checking that generated files are newer than configure... done
775 >
776 > > > configure: creating ./config.status
777 >
778 > > > config.status: creating Makefile
779 >
780 > > > config.status: creating pkg.m4
781 >
782 > > > config.status: creating check/Makefile
783 >
784 > > > config.status: creating check/config.sh
785 >
786 > > > config.status: creating config.h.win32
787 >
788 > > > config.status: creating config.h
789 >
790 > > > config.status: executing depfiles commands
791 >
792 > > > config.status: executing libtool commands
793 >
794 > > > === configuring in glib
795 >
796 > > > (/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29
797 > > > .1/work/pk
798 >
799 > > > g-config-0.29.1-abi_x86_32.x86/glib)
800 >
801 > > > configure: running /export/home/johnh/gentoo/bin/bash
802 >
803 > > > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.
804 > > > 1/work/pkg
805 >
806 > > > -config-0.29.1/glib/configure --disable-option-checking
807 >
808 > > > '--prefix=/export/home/johnh/gentoo/usr' '--build=i386-pc-solaris2.11'
809 >
810 > > > '--host=i386-pc-solaris2.11'
811 >
812 > > > '--mandir=/export/home/johnh/gentoo/usr/share/man'
813 >
814 > > > '--infodir=/export/home/johnh/gentoo/usr/share/info'
815 >
816 > > > '--datadir=/export/home/johnh/gentoo/usr/share'
817 >
818 > > > '--sysconfdir=/export/home/johnh/gentoo/etc'
819 >
820 > > > '--localstatedir=/export/home/johnh/gentoo/var/lib'
821 >
822 > > > '--disable-dependency-tracking' '--disable-silent-rules'
823 >
824 > > > '--docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1'
825 >
826 > > > '--htmldir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html'
827 >
828 > > > '--libdir=/export/home/johnh/gentoo/usr/lib'
829 >
830 > > > '--docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html'
831 >
832 > > > '--with-system-include-path=/export/home/johnh/gentoo/usr/include'
833 >
834 > > > '--with-system-library-path=/export/home/johnh/gentoo/usr/lib'
835 >
836 > > > '--with-internal-glib' '--with-libiconv=gnu'
837 >
838 > > > 'build_alias=i386-pc-solaris2.11' 'host_alias=i386-pc-solaris2.11'
839 > > > 'CFLAGS=
840 >
841 > > > -O2 -pipe' 'LDFLAGS=-L/export/home/johnh/gentoo/usr/lib
842 >
843 > > > -L/export/home/johnh/gentoo/usr/lib -lintl'
844 >
845 > > > 'CPPFLAGS=-I/export/home/johnh/gentoo/usr/include -DENABLE_NLS'
846 >
847 > > > 'PKG_CONFIG_PATH=/export/home/johnh/gentoo/usr/lib/pkgconfig'
848 >
849 > > > --cache-file=/dev/null
850 >
851 > > > --srcdir=/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgcon
852 > > > fig-0.29.1
853 >
854 > > > /work/pkg-config-0.29.1/glib
855 >
856 > > > checking for a BSD-compatible install...
857 >
858 > > > /export/home/johnh/gentoo/tmp/bin/install -c
859 >
860 > > > checking whether build environment is sane... yes
861 >
862 > > > checking for a thread-safe mkdir -p...
863 >
864 > > > /export/home/johnh/gentoo/tmp/bin/mkdir -p
865 >
866 > > > checking for gawk... gawk
867 >
868 > > > checking whether gmake sets $(MAKE)... yes
869 >
870 > > > checking whether gmake supports nested variables... yes
871 >
872 > > > checking whether UID '100' is supported by ustar format... yes
873 >
874 > > > checking whether GID '10' is supported by ustar format... yes
875 >
876 > > > checking how to create a ustar tar archive... gnutar
877 >
878 > > > checking whether to enable maintainer-specific portions of
879 > > > Makefiles... yes
880 >
881 > > > checking whether gmake supports nested variables... (cached) yes
882 >
883 > > > checking for i386-pc-solaris2.11-gcc... i386-pc-solaris2.11-gcc
884 >
885 > > > checking whether the C compiler works... yes
886 >
887 > > > checking for C compiler default output file name... a.out
888 >
889 > > > checking for suffix of executables...
890 >
891 > > > checking whether we are cross compiling... no
892 >
893 > > > checking for suffix of object files... o
894 >
895 > > > checking whether we are using the GNU C compiler... yes
896 >
897 > > > checking whether i386-pc-solaris2.11-gcc accepts -g... yes
898 >
899 > > > checking for i386-pc-solaris2.11-gcc option to accept ISO C89...
900 > > > none needed
901 >
902 > > > checking whether i386-pc-solaris2.11-gcc understands -c and -o together...
903 >
904 > > > yes
905 >
906 > > > checking for style of include used by gmake... GNU
907 >
908 > > > checking dependency style of i386-pc-solaris2.11-gcc... none
909 >
910 > > > checking how to run the C preprocessor... i386-pc-solaris2.11-gcc
911 > > > -E
912 >
913 > > > checking for grep that handles long lines and -e...
914 >
915 > > > /export/home/johnh/gentoo/tmp/bin/grep
916 >
917 > > > checking for egrep... /export/home/johnh/gentoo/tmp/bin/grep -E
918 >
919 > > > checking for ANSI C header files... yes
920 >
921 > > > checking for sys/types.h... yes
922 >
923 > > > checking for sys/stat.h... yes
924 >
925 > > > checking for stdlib.h... yes
926 >
927 > > > checking for string.h... yes
928 >
929 > > > checking for memory.h... yes
930 >
931 > > > checking for strings.h... yes
932 >
933 > > > checking for inttypes.h... yes
934 >
935 > > > checking for stdint.h... yes
936 >
937 > > > checking for unistd.h... yes
938 >
939 > > > checking minix/config.h usability... no
940 >
941 > > > checking minix/config.h presence... no
942 >
943 > > > checking for minix/config.h... no
944 >
945 > > > checking whether it is safe to define __EXTENSIONS__... yes
946 >
947 > > > checking build system type... i386-pc-solaris2.11
948 >
949 > > > checking host system type... i386-pc-solaris2.11
950 >
951 > > > checking for the BeOS... no
952 >
953 > > > checking for Win32... no
954 >
955 > > > checking for the Android... no
956 >
957 > > > checking for Mac OS X Carbon support... no
958 >
959 > > > checking for Mac OS X Cocoa support... no
960 >
961 > > > checking whether to enable garbage collector friendliness... no
962 >
963 > > > checking whether to disable memory pools... no
964 >
965 > > > checking for i386-pc-solaris2.11-c++... i386-pc-solaris2.11-c++
966 >
967 > > > checking whether we are using the GNU C++ compiler... yes
968 >
969 > > > checking whether i386-pc-solaris2.11-c++ accepts -g... yes
970 >
971 > > > checking dependency style of i386-pc-solaris2.11-c++... none
972 >
973 > > > checking for special C compiler options needed for large files...
974 > > > no
975 >
976 > > > checking for _FILE_OFFSET_BITS value needed for large files... 64
977 >
978 > > > checking for gawk... (cached) gawk
979 >
980 > > > checking for perl5... no
981 >
982 > > > checking for perl... perl
983 >
984 > > > checking for indent... no
985 >
986 > > > checking for perl... /usr/bin/perl
987 >
988 > > > checking for a Python interpreter with version >= 2.5... python2.6
989 >
990 > > > checking for python2.6... /usr/bin/python2.6
991 >
992 > > > checking for python2.6 version... 2.6
993 >
994 > > > checking for python2.6 platform... sunos5
995 >
996 > > > checking for python2.6 script directory...
997 >
998 > > > ${prefix}/lib/python2.6/site-packages
999 >
1000 > > > checking for python2.6 extension module directory...
1001 >
1002 > > > ${exec_prefix}/lib/python2.6/site-packages
1003 >
1004 > > > checking for libiconv_open in -liconv... yes
1005 >
1006 > > > checking how to print strings... print -r
1007 >
1008 > > > checking for a sed that does not truncate output...
1009 >
1010 > > > /export/home/johnh/gentoo/bin/sed
1011 >
1012 > > > checking for fgrep... /export/home/johnh/gentoo/tmp/bin/grep -F
1013 >
1014 > > > checking for ld used by i386-pc-solaris2.11-gcc...
1015 >
1016 > > > /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld
1017 >
1018 > > > checking if the linker
1019 >
1020 > > > (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) is GNU
1021 > > > ld... yes
1022 >
1023 > > > checking for BSD- or MS-compatible name lister (nm)...
1024 >
1025 > > > /export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B
1026 >
1027 > > > checking the name lister
1028 >
1029 > > > (/export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B)
1030 > > > interface... BSD
1031 >
1032 > > > nm
1033 >
1034 > > > checking whether ln -s works... yes
1035 >
1036 > > > checking the maximum length of command line arguments... 786240
1037 >
1038 > > > checking how to convert i386-pc-solaris2.11 file names to
1039 >
1040 > > > i386-pc-solaris2.11 format... func_convert_file_noop
1041 >
1042 > > > checking how to convert i386-pc-solaris2.11 file names to
1043 > > > toolchain
1044 >
1045 > > > format... func_convert_file_noop
1046 >
1047 > > > checking for
1048 > > > /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld option
1049 >
1050 > > > to reload object files... -r
1051 >
1052 > > > checking for i386-pc-solaris2.11-objdump...
1053 > > > i386-pc-solaris2.11-objdump
1054 >
1055 > > > checking how to recognize dependent libraries... pass_all
1056 >
1057 > > > checking for i386-pc-solaris2.11-dlltool... no
1058 >
1059 > > > checking for dlltool... no
1060 >
1061 > > > checking how to associate runtime and link libraries... print -r
1062 > > > --
1063 >
1064 > > > checking for i386-pc-solaris2.11-ar... i386-pc-solaris2.11-ar
1065 >
1066 > > > checking for archiver @FILE support... @
1067 >
1068 > > > checking for i386-pc-solaris2.11-strip...
1069 > > > i386-pc-solaris2.11-strip
1070 >
1071 > > > checking for i386-pc-solaris2.11-ranlib...
1072 > > > i386-pc-solaris2.11-ranlib
1073 >
1074 > > > checking command to parse
1075 >
1076 > > > /export/home/johnh/gentoo/bin/i386-pc-solaris2.11-nm -B output
1077 > > > from
1078 >
1079 > > > i386-pc-solaris2.11-gcc object... ok
1080 >
1081 > > > checking for sysroot... no
1082 >
1083 > > > checking for a working dd... /export/home/johnh/gentoo/tmp/bin/dd
1084 >
1085 > > > checking how to truncate binary pipes...
1086 >
1087 > > > /export/home/johnh/gentoo/tmp/bin/dd bs=4096 count=1
1088 >
1089 > > > checking for i386-pc-solaris2.11-mt... no
1090 >
1091 > > > checking for mt... mt
1092 >
1093 > > > checking if mt is a manifest tool... no
1094 >
1095 > > > checking for dlfcn.h... yes
1096 >
1097 > > > checking for objdir... .libs
1098 >
1099 > > > checking if i386-pc-solaris2.11-gcc supports -fno-rtti
1100 > > > -fno-exceptions... no
1101 >
1102 > > > checking for i386-pc-solaris2.11-gcc option to produce PIC...
1103 > > > -fPIC -DPIC
1104 >
1105 > > > checking if i386-pc-solaris2.11-gcc PIC flag -fPIC -DPIC works...
1106 > > > yes
1107 >
1108 > > > checking if i386-pc-solaris2.11-gcc static flag -static works...
1109 > > > no
1110 >
1111 > > > checking if i386-pc-solaris2.11-gcc supports -c -o file.o... yes
1112 >
1113 > > > checking if i386-pc-solaris2.11-gcc supports -c -o file.o...
1114 > > > (cached) yes
1115 >
1116 > > > checking whether the i386-pc-solaris2.11-gcc linker
1117 >
1118 > > > (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld)
1119 > > > supports shared
1120 >
1121 > > > libraries... yes
1122 >
1123 > > > checking dynamic linker characteristics... solaris2.11 ld.so
1124 >
1125 > > > checking how to hardcode library paths into programs... immediate
1126 >
1127 > > > checking whether stripping libraries is possible... yes
1128 >
1129 > > > checking if libtool supports shared libraries... yes
1130 >
1131 > > > checking whether to build shared libraries... no
1132 >
1133 > > > checking whether to build static libraries... yes
1134 >
1135 > > > checking how to run the C++ preprocessor...
1136 > > > i386-pc-solaris2.11-c++ -E
1137 >
1138 > > > checking for ld used by i386-pc-solaris2.11-c++...
1139 >
1140 > > > /export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld
1141 >
1142 > > > checking if the linker
1143 >
1144 > > > (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld) is GNU
1145 > > > ld... yes
1146 >
1147 > > > checking whether the i386-pc-solaris2.11-c++ linker
1148 >
1149 > > > (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld)
1150 > > > supports shared
1151 >
1152 > > > libraries... yes
1153 >
1154 > > > checking for i386-pc-solaris2.11-c++ option to produce PIC...
1155 > > > -fPIC -DPIC
1156 >
1157 > > > checking if i386-pc-solaris2.11-c++ PIC flag -fPIC -DPIC works...
1158 > > > yes
1159 >
1160 > > > checking if i386-pc-solaris2.11-c++ static flag -static works...
1161 > > > no
1162 >
1163 > > > checking if i386-pc-solaris2.11-c++ supports -c -o file.o... yes
1164 >
1165 > > > checking if i386-pc-solaris2.11-c++ supports -c -o file.o...
1166 > > > (cached) yes
1167 >
1168 > > > checking whether the i386-pc-solaris2.11-c++ linker
1169 >
1170 > > > (/export/home/johnh/gentoo/usr/i386-pc-solaris2.11/bin/ld)
1171 > > > supports shared
1172 >
1173 > > > libraries... yes
1174 >
1175 > > > checking dynamic linker characteristics... solaris2.11 ld.so
1176 >
1177 > > > checking how to hardcode library paths into programs... immediate
1178 >
1179 > > > configure: creating ./config.lt
1180 >
1181 > > > config.lt: creating libtool
1182 >
1183 > > > checking for extra flags to get ANSI library prototypes... none
1184 > > > needed
1185 >
1186 > > > checking for extra flags for POSIX compliance... none needed
1187 >
1188 > > > checking for vprintf... yes
1189 >
1190 > > > checking for _doprnt... yes
1191 >
1192 > > > checking for size_t... yes
1193 >
1194 > > > checking for working alloca.h... yes
1195 >
1196 > > > checking for alloca... yes
1197 >
1198 > > > checking for mmap... yes
1199 >
1200 > > > checking for posix_memalign... yes
1201 >
1202 > > > checking for memalign... yes
1203 >
1204 > > > checking for valloc... yes
1205 >
1206 > > > checking for fsync... yes
1207 >
1208 > > > checking for pipe2... no
1209 >
1210 > > > checking for issetugid... yes
1211 >
1212 > > > checking for atexit... yes
1213 >
1214 > > > checking for on_exit... no
1215 >
1216 > > > checking for timegm... no
1217 >
1218 > > > checking for gmtime_r... yes
1219 >
1220 > > > checking for __libc_enable_secure... no
1221 >
1222 > > > checking size of char... 1
1223 >
1224 > > > checking size of short... 2
1225 >
1226 > > > checking size of long... 4
1227 >
1228 > > > checking size of int... 4
1229 >
1230 > > > checking size of void *... 4
1231 >
1232 > > > checking size of long long... 8
1233 >
1234 > > > checking size of __int64... 0
1235 >
1236 > > > checking for sig_atomic_t... yes
1237 >
1238 > > > checking for format to printf and scanf a guint64... %llu
1239 >
1240 > > > checking for an ANSI C-conforming const... yes
1241 >
1242 > > > checking for growing stack pointer... yes
1243 >
1244 > > > checking for __inline... yes
1245 >
1246 > > > checking for __inline__... yes
1247 >
1248 > > > checking for inline... yes
1249 >
1250 > > > checking if inline functions in headers work... yes
1251 >
1252 > > > checking for working do while(0) macros... yes
1253 >
1254 > > > checking for ISO C99 varargs macros in C... yes
1255 >
1256 > > > checking for ISO C99 varargs macros in C++... yes
1257 >
1258 > > > checking for GNUC varargs macros... yes
1259 >
1260 > > > checking for GNUC visibility attribute... yes
1261 >
1262 > > > checking whether using Sun Studio C compiler... no
1263 >
1264 > > > checking whether byte ordering is bigendian... no
1265 >
1266 > > > checking dirent.h usability... yes
1267 >
1268 > > > checking dirent.h presence... yes
1269 >
1270 > > > checking for dirent.h... yes
1271 >
1272 > > > checking float.h usability... yes
1273 >
1274 > > > checking float.h presence... yes
1275 >
1276 > > > checking for float.h... yes
1277 >
1278 > > > checking limits.h usability... yes
1279 >
1280 > > > checking limits.h presence... yes
1281 >
1282 > > > checking for limits.h... yes
1283 >
1284 > > > checking pwd.h usability... yes
1285 >
1286 > > > checking pwd.h presence... yes
1287 >
1288 > > > checking for pwd.h... yes
1289 >
1290 > > > checking grp.h usability... yes
1291 >
1292 > > > checking grp.h presence... yes
1293 >
1294 > > > checking for grp.h... yes
1295 >
1296 > > > checking sys/param.h usability... yes
1297 >
1298 > > > checking sys/param.h presence... yes
1299 >
1300 > > > checking for sys/param.h... yes
1301 >
1302 > > > checking sys/poll.h usability... yes
1303 >
1304 > > > checking sys/poll.h presence... yes
1305 >
1306 > > > checking for sys/poll.h... yes
1307 >
1308 > > > checking sys/resource.h usability... yes
1309 >
1310 > > > checking sys/resource.h presence... yes
1311 >
1312 > > > checking for sys/resource.h... yes
1313 >
1314 > > > checking sys/time.h usability... yes
1315 >
1316 > > > checking sys/time.h presence... yes
1317 >
1318 > > > checking for sys/time.h... yes
1319 >
1320 > > > checking sys/times.h usability... yes
1321 >
1322 > > > checking sys/times.h presence... yes
1323 >
1324 > > > checking for sys/times.h... yes
1325 >
1326 > > > checking sys/wait.h usability... yes
1327 >
1328 > > > checking sys/wait.h presence... yes
1329 >
1330 > > > checking for sys/wait.h... yes
1331 >
1332 > > > checking for unistd.h... (cached) yes
1333 >
1334 > > > checking values.h usability... yes
1335 >
1336 > > > checking values.h presence... yes
1337 >
1338 > > > checking for values.h... yes
1339 >
1340 > > > checking sys/select.h usability... yes
1341 >
1342 > > > checking sys/select.h presence... yes
1343 >
1344 > > > checking for sys/select.h... yes
1345 >
1346 > > > checking for sys/types.h... (cached) yes
1347 >
1348 > > > checking for stdint.h... (cached) yes
1349 >
1350 > > > checking for inttypes.h... (cached) yes
1351 >
1352 > > > checking sched.h usability... yes
1353 >
1354 > > > checking sched.h presence... yes
1355 >
1356 > > > checking for sched.h... yes
1357 >
1358 > > > checking malloc.h usability... yes
1359 >
1360 > > > checking malloc.h presence... yes
1361 >
1362 > > > checking for malloc.h... yes
1363 >
1364 > > > checking sys/vfs.h usability... yes
1365 >
1366 > > > checking sys/vfs.h presence... yes
1367 >
1368 > > > checking for sys/vfs.h... yes
1369 >
1370 > > > checking sys/vmount.h usability... no
1371 >
1372 > > > checking sys/vmount.h presence... no
1373 >
1374 > > > checking for sys/vmount.h... no
1375 >
1376 > > > checking sys/statfs.h usability... yes
1377 >
1378 > > > checking sys/statfs.h presence... yes
1379 >
1380 > > > checking for sys/statfs.h... yes
1381 >
1382 > > > checking sys/statvfs.h usability... yes
1383 >
1384 > > > checking sys/statvfs.h presence... yes
1385 >
1386 > > > checking for sys/statvfs.h... yes
1387 >
1388 > > > checking sys/filio.h usability... yes
1389 >
1390 > > > checking sys/filio.h presence... yes
1391 >
1392 > > > checking for sys/filio.h... yes
1393 >
1394 > > > checking mntent.h usability... no
1395 >
1396 > > > checking mntent.h presence... no
1397 >
1398 > > > checking for mntent.h... no
1399 >
1400 > > > checking sys/mnttab.h usability... yes
1401 >
1402 > > > checking sys/mnttab.h presence... yes
1403 >
1404 > > > checking for sys/mnttab.h... yes
1405 >
1406 > > > checking sys/vfstab.h usability... yes
1407 >
1408 > > > checking sys/vfstab.h presence... yes
1409 >
1410 > > > checking for sys/vfstab.h... yes
1411 >
1412 > > > checking sys/mntctl.h usability... no
1413 >
1414 > > > checking sys/mntctl.h presence... no
1415 >
1416 > > > checking for sys/mntctl.h... no
1417 >
1418 > > > checking fstab.h usability... no
1419 >
1420 > > > checking fstab.h presence... no
1421 >
1422 > > > checking for fstab.h... no
1423 >
1424 > > > checking sys/uio.h usability... yes
1425 >
1426 > > > checking sys/uio.h presence... yes
1427 >
1428 > > > checking for sys/uio.h... yes
1429 >
1430 > > > checking sys/mkdev.h usability... yes
1431 >
1432 > > > checking sys/mkdev.h presence... yes
1433 >
1434 > > > checking for sys/mkdev.h... yes
1435 >
1436 > > > checking linux/magic.h usability... no
1437 >
1438 > > > checking linux/magic.h presence... no
1439 >
1440 > > > checking for linux/magic.h... no
1441 >
1442 > > > checking sys/prctl.h usability... no
1443 >
1444 > > > checking sys/prctl.h presence... no
1445 >
1446 > > > checking for sys/prctl.h... no
1447 >
1448 > > > checking for sys/mount.h... yes
1449 >
1450 > > > checking for sys/sysctl.h... no
1451 >
1452 > > > checking for sysctlbyname... no
1453 >
1454 > > > checking xlocale.h usability... no
1455 >
1456 > > > checking xlocale.h presence... no
1457 >
1458 > > > checking for xlocale.h... no
1459 >
1460 > > > checking for struct stat.st_mtimensec... no
1461 >
1462 > > > checking for struct stat.st_mtim.tv_nsec... yes
1463 >
1464 > > > checking for struct stat.st_atimensec... no
1465 >
1466 > > > checking for struct stat.st_atim.tv_nsec... yes
1467 >
1468 > > > checking for struct stat.st_ctimensec... no
1469 >
1470 > > > checking for struct stat.st_ctim.tv_nsec... yes
1471 >
1472 > > > checking for struct stat.st_blksize... yes
1473 >
1474 > > > checking for struct stat.st_blocks... yes
1475 >
1476 > > > checking for struct statfs.f_fstypename... no
1477 >
1478 > > > checking for struct statfs.f_bavail... no
1479 >
1480 > > > checking for struct statvfs.f_basetype... yes
1481 >
1482 > > > checking for struct statvfs.f_fstypename... no
1483 >
1484 > > > checking for struct tm.tm_gmtoff... no
1485 >
1486 > > > checking for struct tm.__tm_gmtoff... no
1487 >
1488 > > > checking for dirent.h that defines DIR... yes
1489 >
1490 > > > checking for library containing opendir... none required
1491 >
1492 > > > checking for struct dirent.d_type... no
1493 >
1494 > > > checking for nl_langinfo and CODESET... yes
1495 >
1496 > > > checking stddef.h usability... yes
1497 >
1498 > > > checking stddef.h presence... yes
1499 >
1500 > > > checking for stddef.h... yes
1501 >
1502 > > > checking for stdlib.h... (cached) yes
1503 >
1504 > > > checking for string.h... (cached) yes
1505 >
1506 > > > checking for setlocale... yes
1507 >
1508 > > > checking whether we are using the GNU C Library 2.1 or newer... no
1509 >
1510 > > > checking size of size_t... 4
1511 >
1512 > > > checking for the appropriate definition for size_t... unsigned int
1513 >
1514 > > > checking size of ssize_t... 4
1515 >
1516 > > > checking for the appropriate definition for ssize_t... int
1517 >
1518 > > > checking for lstat... yes
1519 >
1520 > > > checking for strerror... yes
1521 >
1522 > > > checking for strsignal... yes
1523 >
1524 > > > checking for memmove... yes
1525 >
1526 > > > checking for vsnprintf... yes
1527 >
1528 > > > checking for stpcpy... yes
1529 >
1530 > > > checking for strcasecmp... yes
1531 >
1532 > > > checking for strncasecmp... yes
1533 >
1534 > > > checking for poll... yes
1535 >
1536 > > > checking for getcwd... yes
1537 >
1538 > > > checking for vasprintf... yes
1539 >
1540 > > > checking for setenv... yes
1541 >
1542 > > > checking for unsetenv... yes
1543 >
1544 > > > checking for getc_unlocked... yes
1545 >
1546 > > > checking for readlink... yes
1547 >
1548 > > > checking for symlink... yes
1549 >
1550 > > > checking for fdwalk... yes
1551 >
1552 > > > checking for memmem... yes
1553 >
1554 > > > checking for chown... yes
1555 >
1556 > > > checking for lchmod... no
1557 >
1558 > > > checking for lchown... yes
1559 >
1560 > > > checking for fchmod... yes
1561 >
1562 > > > checking for fchown... yes
1563 >
1564 > > > checking for link... yes
1565 >
1566 > > > checking for utimes... yes
1567 >
1568 > > > checking for getgrgid... yes
1569 >
1570 > > > checking for getpwuid... yes
1571 >
1572 > > > checking for getresuid... no
1573 >
1574 > > > checking for getmntent_r... no
1575 >
1576 > > > checking for setmntent... no
1577 >
1578 > > > checking for endmntent... no
1579 >
1580 > > > checking for hasmntopt... yes
1581 >
1582 > > > checking for getfsstat... no
1583 >
1584 > > > checking for getvfsstat... no
1585 >
1586 > > > checking for fallocate... no
1587 >
1588 > > > checking for splice... no
1589 >
1590 > > > checking for prlimit... no
1591 >
1592 > > > checking for statvfs... yes
1593 >
1594 > > > checking for statfs... yes
1595 >
1596 > > > checking whether to use statfs or statvfs... statvfs
1597 >
1598 > > > checking crt_externs.h usability... no
1599 >
1600 > > > checking crt_externs.h presence... no
1601 >
1602 > > > checking for crt_externs.h... no
1603 >
1604 > > > checking for _NSGetEnviron... no
1605 >
1606 > > > checking for newlocale... no
1607 >
1608 > > > checking for uselocale... no
1609 >
1610 > > > checking for strtod_l... no
1611 >
1612 > > > checking for strtoll_l... no
1613 >
1614 > > > checking for strtoull_l... no
1615 >
1616 > > > checking for C99 vsnprintf... yes
1617 >
1618 > > > checking whether printf supports positional parameters... yes
1619 >
1620 > > > checking value of AF_INET... 2
1621 >
1622 > > > checking value of AF_INET6... 26
1623 >
1624 > > > checking value of AF_UNIX... 1
1625 >
1626 > > > checking value of MSG_PEEK... 2
1627 >
1628 > > > checking value of MSG_OOB... 1
1629 >
1630 > > > checking value of MSG_DONTROUTE... 4
1631 >
1632 > > > checking for getprotobyname_r... no
1633 >
1634 > > > checking for endservent... no
1635 >
1636 > > > checking for if_nametoindex... no
1637 >
1638 > > > checking for if_indextoname... no
1639 >
1640 > > > checking if arpa/nameser_compat.h is needed... no
1641 >
1642 > > > checking for res_query... configure: error: not found
1643 >
1644 > > > configure: error:
1645 >
1646 > > > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.
1647 > > > 1/work/pkg
1648 >
1649 > > > -config-0.29.1/glib/configure failed for glib
1650 >
1651 > > >
1652 >
1653 > > > !!! Please attach the following file when seeking support:
1654 >
1655 > > > !!!
1656 >
1657 > > > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.
1658 > > > 1/work/pkg
1659 >
1660 > > > -config-0.29.1-abi_x86_32.x86/config.log
1661 >
1662 > > > * ERROR: dev-util/pkgconfig-0.29.1::gentoo_prefix failed (configure phase):
1663 >
1664 > > > * econf failed
1665 >
1666 > > > *
1667 >
1668 > > > * Call stack:
1669 >
1670 > > > * ebuild.sh, line 115: Called src_configure
1671 >
1672 > > > * environment, line 3302: Called
1673 >
1674 > > > multilib-minimal_src_configure
1675 >
1676 > > > * environment, line 2466: Called
1677 > > >multilib_foreach_abi
1678 >
1679 > > > 'multilib-minimal_abi_src_configure'
1680 >
1681 > > > * environment, line 2680: Called
1682 > > >multibuild_foreach_variant
1683 >
1684 > > > '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
1685 >
1686 > > > * environment, line 2396: Called _multibuild_run
1687 >
1688 > > > '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
1689 >
1690 > > > * environment, line 2394: Called
1691 > > >_multilib_multibuild_wrapper
1692 >
1693 > > > 'multilib-minimal_abi_src_configure'
1694 >
1695 > > > * environment, line 441: Called
1696 >
1697 > > > multilib-minimal_abi_src_configure
1698 >
1699 > > > * environment, line 2460: Called
1700 > > >multilib_src_configure
1701 >
1702 > > > * environment, line 2913: Called econf
1703 >
1704 > > > '--docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html'
1705 >
1706 > > > '--with-system-include-path=/export/home/johnh/gentoo/usr/include'
1707 >
1708 > > > '--with-system-library-path=/export/home/johnh/gentoo/usr/lib'
1709 >
1710 > > > '--with-internal-glib' '--with-libiconv=gnu'
1711 >
1712 > > > * phase-helpers.sh, line 665: Called __helpers_die 'econf failed'
1713 >
1714 > > > * isolated-functions.sh, line 117: Called die
1715 >
1716 > > > * The specific snippet of code:
1717 >
1718 > > > * die "$@"
1719 >
1720 > > > *
1721 >
1722 > > > * If you need support, post the output of `emerge --info
1723 >
1724 > > > '=dev-util/pkgconfig-0.29.1::gentoo_prefix'`,
1725 >
1726 > > > * the complete build log and the output of `emerge -pqv
1727 >
1728 > > > '=dev-util/pkgconfig-0.29.1::gentoo_prefix'`.
1729 >
1730 > > > * The complete build log is located at
1731 >
1732 > > > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29
1733 > > > .1/temp/bu
1734 >
1735 > > > ild.log'.
1736 >
1737 > > > * The ebuild environment file is located at
1738 >
1739 > > > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29
1740 > > > .1/temp/en
1741 >
1742 > > > vironment'.
1743 >
1744 > > > * Working directory:
1745 >
1746 > > > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29
1747 > > > .1/work/pk
1748 >
1749 > > > g-config-0.29.1-abi_x86_32.x86'
1750 >
1751 > > > * S:
1752 >
1753 > > > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29
1754 > > > .1/work/pk
1755 >
1756 > > > g-config-0.29.1'
1757 >
1758 > > >
1759 >
1760 > > > >>> Failed to emerge dev-util/pkgconfig-0.29.1, Log file:
1761 >
1762 > > >
1763 >
1764 > > > >>>
1765 >
1766 > > > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29
1767 > > > .1/temp/bu
1768 >
1769 > > > ild.log'
1770 >
1771 > > >
1772 >
1773 > > > * Messages for package dev-util/pkgconfig-0.29.1:
1774 >
1775 > > >
1776 >
1777 > > > * ERROR: dev-util/pkgconfig-0.29.1::gentoo_prefix failed (configure phase):
1778 >
1779 > > > * econf failed
1780 >
1781 > > > *
1782 >
1783 > > > * Call stack:
1784 >
1785 > > > * ebuild.sh, line 115: Called src_configure
1786 >
1787 > > > * environment, line 3302: Called
1788 >
1789 > > > multilib-minimal_src_configure
1790 >
1791 > > > * environment, line 2466: Called
1792 > > >multilib_foreach_abi
1793 >
1794 > > > 'multilib-minimal_abi_src_configure'
1795 >
1796 > > > * environment, line 2680: Called
1797 > > >multibuild_foreach_variant
1798 >
1799 > > > '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
1800 >
1801 > > > * environment, line 2396: Called _multibuild_run
1802 >
1803 > > > '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
1804 >
1805 > > > * environment, line 2394: Called
1806 > > >_multilib_multibuild_wrapper
1807 >
1808 > > > 'multilib-minimal_abi_src_configure'
1809 >
1810 > > > * environment, line 441: Called
1811 >
1812 > > > multilib-minimal_abi_src_configure
1813 >
1814 > > > * environment, line 2460: Called
1815 > > >multilib_src_configure
1816 >
1817 > > > * environment, line 2913: Called econf
1818 >
1819 > > > '--docdir=/export/home/johnh/gentoo/usr/share/doc/pkgconfig-0.29.1/html'
1820 >
1821 > > > '--with-system-include-path=/export/home/johnh/gentoo/usr/include'
1822 >
1823 > > > '--with-system-library-path=/export/home/johnh/gentoo/usr/lib'
1824 >
1825 > > > '--with-internal-glib' '--with-libiconv=gnu'
1826 >
1827 > > > * phase-helpers.sh, line 665: Called __helpers_die 'econf failed'
1828 >
1829 > > > * isolated-functions.sh, line 117: Called die
1830 >
1831 > > > * The specific snippet of code:
1832 >
1833 > > > * die "$@"
1834 >
1835 > > > *
1836 >
1837 > > > * If you need support, post the output of `emerge --info
1838 >
1839 > > > '=dev-util/pkgconfig-0.29.1::gentoo_prefix'`,
1840 >
1841 > > > * the complete build log and the output of `emerge -pqv
1842 >
1843 > > > '=dev-util/pkgconfig-0.29.1::gentoo_prefix'`.
1844 >
1845 > > > * The complete build log is located at
1846 >
1847 > > > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29
1848 > > > .1/temp/bu
1849 >
1850 > > > ild.log'.
1851 >
1852 > > > * The ebuild environment file is located at
1853 >
1854 > > > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29
1855 > > > .1/temp/en
1856 >
1857 > > > vironment'.
1858 >
1859 > > > * Working directory:
1860 >
1861 > > > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29
1862 > > > .1/work/pk
1863 >
1864 > > > g-config-0.29.1-abi_x86_32.x86'
1865 >
1866 > > > * S:
1867 >
1868 > > > '/export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29
1869 > > > .1/work/pk
1870 >
1871 > > > g-config-0.29.1'
1872 >
1873 > > >
1874 >
1875 > > > Hmmmm, I was already afraid of this to happen. Running
1876 >
1877 > > > /export/home/johnh/gentoo/usr/bin/bash ./bootstrap-prefix.sh
1878 >
1879 > > > "/export/home/johnh/gentoo" stage3
1880 >
1881 > > > somewhere failed :( Details might be found in the build log:
1882 >
1883 > > >
1884 >
1885 > > > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.
1886 > > > 1/temp/bui
1887 >
1888 > > > ld.log
1889 >
1890 > > > I have no clue, really. Please find friendly folks in
1891 > > > #gentoo-prefix on
1892 >
1893 > > > irc.gentoo.org, [5]gentoo-alt@l.g.o mailing list, or
1894 > > > file a bug
1895 >
1896 > > > at bugs.gentoo.org under Gentoo/Alt, Prefix Support. This is most
1897 >
1898 > > > inconvenient, and it crushed my ego. Sorry, I give up.
1899 >
1900 > > > Should you want to give it a try, there is
1901 >
1902 > > > /export/home/johnh/gentoo/stage3.log
1903 >
1904 > > >
1905 >
1906 > > >
1907 >
1908 > > > Digging further, I can see the configure trying to find res_query
1909 > > > in
1910 >
1911 > > > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.
1912 > > > 1/work/pkg
1913 >
1914 > > > -config-0.29.1-abi_x86_32.x86/glib/config.log
1915 >
1916 > > >
1917 >
1918 > > > The relevant section is
1919 >
1920 > > >
1921 >
1922 > > > configure:23145: checking for res_query
1923 >
1924 > > > configure:23164: i386-pc-solaris2.11-gcc -o conftest -O2 -pipe
1925 >
1926 > > > -I/export/home/johnh/gentoo/usr/include -DENABLE_NLS
1927 >
1928 > > > -L/export/home/johnh/gentoo/usr/lib
1929 > > > -L/export/home/johnh/gentoo/usr/lib
1930 >
1931 > > > -lintl conftest.c >&5
1932 >
1933 > > > /export/home/johnh/gentoo/var/tmp/portage/dev-util/pkgconfig-0.29.
1934 > > > 1/temp/ccg
1935 >
1936 > > > naGcB.o: In function `main':
1937 >
1938 > > > conftest.c:(.text.startup+0x1f): undefined reference to `res_query'
1939 >
1940 > > > collect2: error: ld returned 1 exit status
1941 >
1942 > > >
1943 >
1944 > > > configure:23187: i386-pc-solaris2.11-gcc -o conftest -O2 -pipe
1945 >
1946 > > > -I/export/home/johnh/gentoo/usr/include -DENABLE_NLS
1947 >
1948 > > > -L/export/home/johnh/gentoo/usr/lib
1949 > > > -L/export/home/johnh/gentoo/usr/lib
1950 >
1951 > > > -lintl conftest.c -lresolv >&5
1952 >
1953 > > > /lib/libelf.so.1: undefined reference to `inflate@SUNW_1.1'
1954 >
1955 > > > /lib/libelf.so.1: undefined reference to `deflateEnd@SUNW_1.1'
1956 >
1957 > > > /lib/libelf.so.1: undefined reference to `inflateInit_@SUNW_1.1'
1958 >
1959 > > > /lib/libelf.so.1: undefined reference to `deflateInit_@SUNW_1.1'
1960 >
1961 > > > /lib/libelf.so.1: undefined reference to `deflateReset@SUNW_1.1'
1962 >
1963 > > > /lib/libelf.so.1: undefined reference to `inflateReset@SUNW_1.1'
1964 >
1965 > > > /lib/libelf.so.1: undefined reference to `inflateEnd@SUNW_1.1'
1966 >
1967 > > > /lib/libelf.so.1: undefined reference to `deflate@SUNW_1.1'
1968 >
1969 > > > collect2: error: ld returned 1 exit status
1970 >
1971 > > >
1972 >
1973 > > > So Im not a programmer, and I know little about debugging build
1974 > > > issues, but
1975 >
1976 > > > I think those undefined references refer to zlib. Zlib is
1977 > > > installed at
1978 >
1979 > > >
1980 >
1981 > > > johnh@sprawl:~$ find . -name "libz.so*"
1982 >
1983 > > > ./gentoo/var/tmp/zlib-1.2.8/zlib-1.2.8/libz.so
1984 >
1985 > > > ./gentoo/var/tmp/zlib-1.2.8/zlib-1.2.8/libz.so.1
1986 >
1987 > > > ./gentoo/var/tmp/zlib-1.2.8/zlib-1.2.8/libz.so.1.2.8
1988 >
1989 > > > ./gentoo/tmp/usr/lib/libz.so.1
1990 >
1991 > > > ./gentoo/tmp/usr/lib/libz.so
1992 >
1993 > > > ./gentoo/tmp/usr/lib/libz.so.1.2.8
1994 >
1995 > > > ./gentoo/usr/lib/libz.so
1996 >
1997 > > > ./gentoo/usr/lib/libz.so.1
1998 >
1999 > > > ./gentoo/usr/lib/libz.so.1.2.11
2000 >
2001 > > >
2002 >
2003 > > > And also the system zlib is in /lib/libz.so.1. I was considering
2004 > > > the
2005 >
2006 > > > hardcoded symbol versions it was reporting in /lib/libelf.so.1.
2007 > > > GNU LD is
2008 >
2009 > > > never going to generate versioned symbols, so they will never
2010 > > > link. If I
2011 >
2012 > > > fool around and tell ld to use /lib/libz.so.1 it does actually link.
2013 >
2014 > > >
2015 >
2016 > > > I'm properly stuck. I've been trying to get passed this point for
2017 > > > a week
2018 >
2019 > > > now. I hope that someone out there has seen this failure before
2020 > > > and can help
2021 >
2022 > > >
2023 >
2024 > > > Regards
2025 >
2026 > > >
2027 >
2028 > > > John Helliwell
2029 >
2030 > > >
2031 >
2032 > > >
2033 >
2034 > > >
2035 >
2036 > >
2037 >
2038 > > --
2039 >
2040 > > Fabian Groffen
2041 >
2042 > > Gentoo on a different level
2043 >
2044 >
2045 > References:
2046 > 1. mailto:grobian@g.o
2047 > 2. https://forums.gentoo.org/viewtopic-p-8065614.html?sid=95636da82f97a16259d38eeecbdbab5e
2048 > 3. https://docs.oracle.com/cd/E23824_01/html/821-1464/libresolv-3lib.html
2049 > 4. http://distfiles.gentoo.org
2050 > 5. mailto:gentoo-alt@l.g.o
2051 >
2052
2053 --
2054 Fabian Groffen
2055 Gentoo on a different level

Replies

Subject Author
Re: [gentoo-alt] Prefix fails to bootstrap on Solaris 11 Fabian Groffen <grobian@g.o>