View previous topic :: View next topic |
Author |
Message |
CosminG Apprentice


Joined: 19 Jan 2005 Posts: 166
|
Posted: Tue Jan 23, 2007 8:15 pm Post subject: [Solved] build error gcc-3.3.6/skype wants gcc3 or libstdc++ |
|
|
Hi, I want to emerge skype and seems like I need gcc-3.3.6, but I get this error:
Code: | ` if [ -f /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc/../binutils/ranlib ] ; then echo /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc/../binutils/ranlib ; else if [ "i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then echo ranlib; else t='s,^,i686-pc-linux-gnu-,'; echo ranlib | sed -e $t ; fi; fi` stage1/libgcc_eh.a; \
else true; fi; fi
cp libgcc_s*.so stage1/
cp libunwind.a libunwind*.so stage1
cp: cannot stat `libunwind.a': No such file or directory
cp: cannot stat `libunwind*.so': No such file or directory
make[2]: [stage1-start] Error 1 (ignored)
for f in .. ; do if [ x${f} != x.. ]; then \
cp stage1/${f} . ; \
else true; \
fi; done
mv cp/*.o stage1/cp
mv -f f/*.o f/fini f/stamp-str f/str-*.h f/str-*.j g77spec.o stage1/f
mv: cannot stat `cp/*.o': No such file or directory
make[2]: [c++.stage1] Error 1 (ignored)
mv: cannot stat `f/*.o': No such file or directory
mv: cannot stat `f/fini': No such file or directory
mv: cannot stat `f/stamp-str': No such file or directory
mv: cannot stat `f/str-*.h': No such file or directory
mv: cannot stat `f/str-*.j': No such file or directory
mv: cannot stat `g77spec.o': No such file or directory
make[2]: [f77.stage1] Error 1 (ignored)
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
echo timestamp > stage1_copy
echo stage2_build > stage_last
(cd stage1 && rm -f `echo main.o libbackend.a alias.o bb-reorder.o bitmap.o builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfglayout.o cfgloop.o cfgrtl.o combine.o conflict.o convert.o cse.o cselib.o dbxout.o debug.o df.o diagnostic.o doloop.o dominance.o dwarf2asm.o dwarf2out.o dwarfout.o emit-rtl.o except.o explow.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o genrtl.o ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o hashtable.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-extract.o insn-opinit.o insn-output.o insn-peep.o insn-recog.o integrate.o intl.o jump.o langhooks.o lcm.o lists.o local-alloc.o loop.o mbchar.o optabs.o params.o predict.o print-rtl.o print-tree.o profile.o ra.o ra-build.o ra-colorize.o ra-debug.o ra-rewrite.o real.o recog.o reg-stack.o regclass.o regmove.o regrename.o reload.o reload1.o reorg.o resource.o rtl.o rtlanal.o rtl-error.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o sibcall.o simplify-rtx.o ssa.o ssa-ccp.o ssa-dce.o stmt.o stor-layout.o stringpool.o timevar.o toplev.o tracer.o tree.o tree-dump.o tree-inline.o unroll.o varasm.o varray.o version.o vmsdbgout.o xcoffout.o et-forest.o protector.o ggc-page.o i386.o c-parse.o c-lang.o c-pretty-print.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a cpplib.o cpplex.o cppmacro.o cppexp.o cppfiles.o cpptrad.o cpphash.o cpperror.o cppinit.o cppdefault.o cppmain.o hashtable.o line-map.o mkdeps.o prefix.o mbchar.o *.c *.h gen*`)
make CC=" stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/" \
STAGE_PREFIX=stage1/ \
ADAC="\$(CC)" AR_FOR_TARGET="ar" RANLIB_FOR_TARGET="ranlib" CFLAGS="-march=athlon64 -O2 -pipe" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-Wtraditional -pedantic -Wno-long-long" libdir=/usr/lib LANGUAGES="c gcov c++ f77 proto" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
make[2]: Entering directory `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/ -c -march=athlon64 -O2 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc -I/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/. -I/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/config -I/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/../include /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/gengenrtl.c -o gengenrtl.o
cc1: error: bad value (athlon64) for -march= switch
cc1: error: bad value (athlon64) for -mcpu= switch
make[2]: *** [gengenrtl.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: *** Waiting for unfinished jobs....
echo timestamp > clean_s1
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
make: *** [bootstrap-lean] Error 2
!!! ERROR: sys-devel/gcc-3.3.6-r1 failed.
Call stack:
ebuild.sh, line 1611: Called dyn_compile
ebuild.sh, line 968: Called qa_call 'src_compile'
environment, line 5308: Called src_compile
ebuild.sh, line 1301: Called toolchain_src_compile
toolchain.eclass, line 24: Called gcc_src_compile
toolchain.eclass, line 1537: Called gcc_do_make
toolchain.eclass, line 1411: Called die
!!! emake failed with bootstrap-lean
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-devel/gcc-3.3.6-r1/temp/build.log'.
|
Code: | # emerge --info
Portage 2.1.2-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r3 i686)
=================================================================
System uname: 2.6.19-gentoo-r3 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3600+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 23 Jan 2007 10:30:01 +0000
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.19.2-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa arts avi berkdb bitmap-fonts branding cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libg++ libnotify mad mikmod mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdflib perl png ppds pppd print python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vga vesa"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
any ideeas?
Last edited by CosminG on Wed Jan 24, 2007 6:20 pm; edited 1 time in total |
|
Back to top |
|
 |
Dan Veteran

Joined: 25 Oct 2005 Posts: 1302
|
Posted: Tue Jan 23, 2007 8:37 pm Post subject: |
|
|
try newer version of skype
EDIT***
emerge -tpv skype
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild N ] net-im/skype-1.2.0.18 USE="arts esd -static" 8,099 kB
Total: 1 package (1 new), Size of downloads: 8,099 kB
~ # gcc-config -L
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1
mine doesnt want gcc3?
whats your output of emerge -tpv skype _________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
 |
CosminG Apprentice


Joined: 19 Jan 2005 Posts: 166
|
Posted: Wed Jan 24, 2007 6:12 am Post subject: |
|
|
I try newer versione even then you:
Code: | # emerge -tpv skype
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild N ] net-im/skype-1.3.0.53-r1 USE="-cjk -static" 10,010 kB
[ebuild N ] virtual/libstdc++-3.3 0 kB
[ebuild NS ] sys-devel/gcc-3.3.6-r1 USE="fortran gtk nls (-altivec) -bootstrap -boundschecking -build -doc -gcj (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla" 0 kB
Total: 3 packages (2 new, 1 in new slot), Size of downloads: 10,010 kB
|
|
|
Back to top |
|
 |
Dan Veteran

Joined: 25 Oct 2005 Posts: 1302
|
Posted: Wed Jan 24, 2007 5:46 pm Post subject: |
|
|
try Code: | emerge libstdc++-v3 libstdc++ |
then
you shouldn't need the gcc3* _________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
 |
CosminG Apprentice


Joined: 19 Jan 2005 Posts: 166
|
Posted: Wed Jan 24, 2007 5:54 pm Post subject: |
|
|
That is funny
Code: | # emerge libstdc++-v3 libstdc++ -1av
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] sys-libs/libstdc++-v3-3.3.6 USE="nls nptl -build (-multilib)" 0 kB
[ebuild NS ] sys-devel/gcc-3.3.6-r1 USE="fortran gtk nls (-altivec) -bootstrap -boundschecking -build -doc -gcj (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla" 0 kB
[ebuild N ] virtual/libstdc++-3.3 0 kB
Total: 3 packages (2 new, 1 in new slot), Size of downloads: 0 kB
|
|
|
Back to top |
|
 |
Dan Veteran

Joined: 25 Oct 2005 Posts: 1302
|
Posted: Wed Jan 24, 2007 6:04 pm Post subject: |
|
|
ok you didn't follow the gentoo gcc upgrade guide when you upgraded gcc did you?
http://www.gentoo.org/doc/en/gcc-upgrading.xml
If you did then you would have libstdc++-v3 and then I don't think it would want libstdc++
so check over the guide and do what you have not...
this solution would be
Code: | emerge libstdc++-v3 |
then skype will probably be ok without libstdc++ _________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
 |
CosminG Apprentice


Joined: 19 Jan 2005 Posts: 166
|
Posted: Wed Jan 24, 2007 6:08 pm Post subject: |
|
|
Thank you. I am emergeing skype now.
Last edited by CosminG on Wed Jan 24, 2007 6:19 pm; edited 1 time in total |
|
Back to top |
|
 |
Dan Veteran

Joined: 25 Oct 2005 Posts: 1302
|
Posted: Wed Jan 24, 2007 6:11 pm Post subject: |
|
|
please add [Solved] to the original post topic
maybe even edit it to something more related to the real issue.
like skype wants gcc3 or libstdc++  _________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|