On 8/21/07, Dennis Taylor <[EMAIL PROTECTED]> wrote:
> Originally I posted a problem with a corrupted portage file.  That has
> since been fixed, now I just plain cannot figure out how to
> resynchronize with the world.  I tried removing all unnecessary
> packages, and using revdep and what not.  Now, I have a conflict that I
> cannot figure out how to resolve.  The first time I got this failure,
> I tried just emerging gcc.  I thought it brought in version 4.someting,
> but I find that I still have 3.3.6, which I would have thought to be new
> enough to build glibc.
>

Try typing in:

gcc-config -l

You will probably get something like the following (except with 3.3.6):

 [1] i686-pc-linux-gnu-3.3.5-20050130 *
 [2] i686-pc-linux-gnu-3.3.5-20050130-hardened
 [3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie
 [4] i686-pc-linux-gnu-3.3.5-20050130-hardenednopiessp
 [5] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp
 [6] i686-pc-linux-gnu-4.1.1


These are the different versions of gcc that are available on your
system. The one marked with the asterisk (*) is your current default
compiler. At this point, you could issue a:

gcc-config 6

(or whatever profile number to switch to) to switch your default
compiler over. However, there are some caveats about switching from
gcc 3.x to gcc 4.x, *PLEASE* follow
http://www.gentoo.org/doc/en/gcc-upgrading.xml very closely, or you
will seriously bork your system. ;) (Spoken from experience...)

HTH-

James


> Help.  What am I missing here.
>
> clwsapp07 ~ # gcc -v
> Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/specs
> Configured with: /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/configure
> --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.6
> --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include
> --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6
> --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man
> --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info
> --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3
> --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
> --enable-nls --without-included-gettext --with-system-zlib
> --disable-checking --disable-werror --disable-libunwind-exceptions
> --disable-multilib --disable-libgcj --enable-languages=c,c++,f77
> --enable-shared --enable-threads=posix --enable-__cxa_atexit
> --enable-clocale=gnu
> Thread model: posix
> gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
>
>
> Sorry the post is so long.  I am not sure what is important.
>
> -----------
>
> emerge -u --deep world
>
> ... snip ...
>  >>> Unpacking source...
>
>   * Checking gcc for __thread support ...
>                                      [ ok ]
>   * Checking kernel version (>=2.6.9) ...
>                                      [ ok ]
>   * Checking linux-headers version (>=2.6.9) ...
>                                      [ ok ]
>
>  >>> Unpacking glibc-2.5.tar.bz2 to
> /var/tmp/portage/sys-libs/glibc-2.5-r4/work
>  >>> Unpacking glibc-linuxthreads-2.5.tar.bz2 to
> /var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5
>  >>> Unpacking glibc-libidn-2.5.tar.bz2 to
> /var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5
>  >>> Unpacking glibc-ports-2.5.tar.bz2 to
> /var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5
>  >>> Unpacking glibc-2.5-patches-1.8.tar.bz2 to
> /var/tmp/portage/sys-libs/glibc-2.5-r4/work
>   * Applying Gentoo Glibc Patchset 2.5-1.8 ...
>   *   0010_all_glibc-ssp-compat.patch ...
>                                      [ ok ]
>   *   0030_all_glibc-respect-env-CPPFLAGS.patch ...
>                                      [ ok ]
>   *   1010_all_glibc-cvs-update-MINOR.patch ...
>                                      [ ok ]
>   *   1015_all_glibc-2.5-realloc-assert.patch ...
>                                      [ ok ]
>   *   1020_all_glibc-2.5-linuxthreads-gai-headers.patch ...
>                                      [ ok ]
>   *   1021_all_glibc-2.5-linuxthreads-ia64-tcb-typo.patch ...
>                                      [ ok ]
>   *   1022_all_glibc-2.5-linuxthreads-semaphore-header.patch ...
>                                      [ ok ]
>   *   1025_all_glibc-2.5-getusershell-fixes.patch ...
>                                      [ ok ]
>   *   1030_all_glibc-manual-no-perl.patch ...
>                                      [ ok ]
>   *   1035_all_glibc-cvs-fix-fork-handler-refcount-in-child.patch ...
>                                      [ ok ]
>   *   1040_all_2.3.3-localedef-fix-trampoline.patch ...
>                                      [ ok ]
>   *   1050_all_glibc-fix-printf-overflow-with-large-precisions.patch ...
>                                     [ ok ]
>   *   1055_all_glibc-resolv-dynamic.patch ...
>                                      [ ok ]
>   *   1060_all_glibc-cvs-getcwd-path-max.patch ...
>                                      [ ok ]
>   *   1075_all_glibc-section-comments.patch ...
>                                      [ ok ]
>   *   1090_all_glibc-2.3.6-fix-pr631.patch ...
>                                      [ ok ]
>   *   1100_all_glibc-2.3.3-china.patch ...
>                                      [ ok ]
>   *   1120_all_glibc-2.5-strict-aliasing.patch ...
>                                      [ ok ]
>   *   1130_all_glibc-2.4-undefine-__i686.patch ...
>                                      [ ok ]
>   *   1140_all_glibc-2.5-no-tls-support.patch ...
>                                      [ ok ]
>   *   1150_all_glibc-2.5-i386-no-libmemusage.patch ...
>                                      [ ok ]
>   *   1160_all_glibc-2.5-filter-files-for-headers-test.patch ...
>                                      [ ok ]
>   *   1510_all_glibc-hppa-no-asm-elf-header.patch ...
>                                      [ ok ]
>   *   1530_all_glibc-m68k-sys-user.patch ...
>                                      [ ok ]
>   *   1600_all_glibc-hwcap-mask-secure.patch ...
>                                      [ ok ]
>   *   3000_all_2.3.6-dl_execstack-PaX-support.patch ...
>                                      [ ok ]
>   *   3010_all_2.3.3_pre20040117-pt_pax.patch ...
>                                      [ ok ]
>   *   3020_all_glibc-tests-sandbox-libdl-paths.patch ...
>                                      [ ok ]
>   *   4010_all_2.3.5-hardened-iconvconfig-unnest.patch ...
>                                      [ ok ]
>   *   5021_all_2.3.6-fnmatch.patch ...
>                                      [ ok ]
>   *   5063_all_glibc-dont-build-timezone.patch ...
>                                      [ ok ]
>   *   5070_all_cross-compile-nptl.patch ...
>                                      [ ok ]
>   *   6001_all_alpha-glibc-2.4-xstat.patch ...
>                                      [ ok ]
>   *   6005_all_alpha-glibc-2.5-at-register.patch ...
>                                      [ ok ]
>   *   6010_all_alpha-glibc-2.5-sigsuspend-nocancel.patch ...
>                                      [ ok ]
>   *   6015_all_alpha-glibc-2.5-no-page-header.patch ...
>                                      [ ok ]
>   *   6016_all_alpha-glibc-2.5-no-asm-elf-header.patch ...
>                                      [ ok ]
>   *   6020_all_alpha-glibc-2.5-nptl-cfi-statements.patch ...
>                                      [ ok ]
>   *   6220_all_glibc-2.4-arm-cirrus-ep93xx-maverick-crunch-fpu.patch ...
>                                     [ ok ]
>   *   6223_all_arm-glibc-2.5-eabi-no-asm-procinfo.patch ...
>                                      [ ok ]
>   *   6225_all_arm-glibc-2.5-fix-network-assert.patch ...
>                                      [ ok ]
>   *   6230_all_arm-glibc-2.5-no-page-header.patch ...
>                                      [ ok ]
>   *   6400_all_sh-glibc-2.3.2-fpscr_values.patch ...
>                                      [ ok ]
>   *   6410_all_sh-glibc-2.5-no-sys-io-header.patch ...
>                                      [ ok ]
>   *   6415_all_sh-glibc-2.5-no-asm-user-header.patch ...
>                                      [ ok ]
>   *   6416_all_sh-glibc-2.5-no-asm-elf-header.patch ...
>                                      [ ok ]
>   *   6605_all_glibc-2.4-fpu-cw-mips.patch ...
>                                      [ ok ]
>   *   6901_all_2.4-amd64-strings-20060609.patch ...
>                                      [ ok ]
>   *   6901_all_2.4-new-libm-20060321.patch ...
>                                      [ ok ]
>   * Done with patching
>   * Using GNU config files from /usr/share/libtool
>   *   Updating scripts/config.sub
>                                      [ ok ]
>   *   Updating scripts/config.guess
>                                      [ ok ]
>  >>> Source unpacked.
>  >>> Compiling source in
> /var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5 ...
>
>   *             ABI:   default
>   *          CBUILD:   i686-pc-linux-gnu
>   *           CHOST:   i686-pc-linux-gnu
>   *         CTARGET:   i686-pc-linux-gnu
>   *      CBUILD_OPT:
>   *     CTARGET_OPT:
>   *              CC:
>   *          CFLAGS:   -march=pentium3 -O2 -fno-strict-aliasing
>
>   * Configuring GLIBC for nptl with:
>                  --disable-stackguard-randomization
>                  --enable-old-ssp-compat
>                  --with-tls
>                  --with-__thread
>                  --enable-add-ons=ports,nptl,c_stubs,libidn
>                  --enable-kernel=2.6.9
>                  --without-selinux
>                  --without-cvs
>                  --enable-bind-now
>                  --build=i686-pc-linux-gnu
>                  --host=i686-pc-linux-gnu
>                  --disable-profile
>                  --without-gd
>                  --with-headers=/usr/include
>                  --prefix=/usr
>                  --libdir=/usr/lib
>                  --mandir=/usr/share/man
>                  --infodir=/usr/share/info
>                  --libexecdir=/usr/lib/misc/glibc
>
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking add-on ports for preconfigure fragments... am33 arm hppa m68k mips
> configure: running configure fragment for add-on nptl
> configure: running configure fragment for add-on c_stubs
> configure: running configure fragment for add-on libidn
> checking sysdep dirs... sysdeps/i386/elf
> nptl/sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386
> sysdeps/unix/sysv/linux/i386 ports/sysdeps/unix/sysv/linux
> nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread
> sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common
> sysdeps/unix/mman sysdeps/unix/inet ports/sysdeps/unix/sysv/i386
> sysdeps/unix/sysv/i386 ports/sysdeps/unix/sysv nptl/sysdeps/unix/sysv
> sysdeps/unix/sysv sysdeps/unix/i386 ports/sysdeps/unix nptl/sysdeps/unix
> sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu nptl/sysdeps/i386/i686
> sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486
> sysdeps/i386/fpu nptl/sysdeps/i386 sysdeps/i386 sysdeps/wordsize-32
> sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32
> sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether i686-pc-linux-gnu-gcc accepts -g... yes
> checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
> checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
> checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether i686-pc-linux-gnu-g++ accepts -g... yes
> checking whether
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/as
> is GNU as... yes
> checking whether
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld
> is GNU ld... yes
> checking for
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/as...
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/as
> checking version of
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/as...
> 2.17, ok
> checking for
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld...
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld
> checking version of
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld...
> 2.17, ok
> checking for pwd... /bin/pwd
> checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
> checking version of i686-pc-linux-gnu-gcc... 3.3.6, bad
> checking for gnumake... no
> checking for gmake... gmake
> checking version of gmake... 3.81, ok
> checking for gnumsgfmt... no
> checking for gmsgfmt... gmsgfmt
> checking version of gmsgfmt... 0.16.1, ok
> checking for makeinfo... makeinfo
> checking version of makeinfo... 4.8, ok
> checking for sed... sed
> checking version of sed... 4.1.5, ok
> checking for autoconf... autoconf
> checking whether autoconf works... yes
> configure: error:
> *** These critical programs are missing or too old: gcc
> *** Check the INSTALL file for required versions.
>
> !!! ERROR: sys-libs/glibc-2.5-r4 failed.
> Call stack:
>    ebuild.sh, line 1632:   Called dyn_compile
>    ebuild.sh, line 983:   Called qa_call 'src_compile'
>    ebuild.sh, line 44:   Called src_compile
>    glibc-2.5-r4.ebuild, line 1171:   Called toolchain-glibc_src_compile
>    glibc-2.5-r4.ebuild, line 270:   Called glibc_do_configure 'nptl'
>    glibc-2.5-r4.ebuild, line 944:   Called die
>
> !!! failed to configure glibc
> !!! If you need support, post the topmost build error, and the call
> stack if relevant.
> !!! A complete build log is located at
> '/var/log/portage/sys-libs:glibc-2.5-r4:20070821-183316.log'.
>
> --
> [EMAIL PROTECTED] mailing list
>
>
-- 
[EMAIL PROTECTED] mailing list

Reply via email to