Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cant emerge gcc-3.4.4-r1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
smack
n00b
n00b


Joined: 09 Dec 2004
Posts: 18

PostPosted: Thu Oct 06, 2005 12:55 pm    Post subject: cant emerge gcc-3.4.4-r1 Reply with quote

i cant emerge gcc-3.4.4-r1.

here is the error (emerge world):
Code:

x86_64-pc-linux-gnu-ar rc 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 cfgloopanal.o cfgloopmanip.o loop-init.o loop-unswitch.o loop-unroll.o cfgrtl.o combine.o conflict.o convert.o coverage.o cse.o cselib.o dbxout.o debug.o df.o diagnostic.o dojump.o doloop.o dominance.o dwarf2asm.o dwarf2out.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 hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-modes.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 optabs.o options.o opts.o params.o postreload.o predict.o print-rtl.o print-tree.o value-prof.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 sreal.o stmt.o stor-layout.o stringpool.o targhooks.o timevar.o toplev.o tracer.o tree.o tree-dump.o unroll.o varasm.o varray.o version.o vmsdbgout.o xcoffout.o alloc-pool.o et-forest.o cfghooks.o bt-load.o pretty-print.o ggc-page.o web.o protector.o i386.o  host-default.o hashtable.o tree-inline.o tree-optimize.o cgraph.o cgraphunit.o
x86_64-pc-linux-gnu-ranlib libbackend.a
gcc    -march=opteron -O2 -pipe -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H  -o cc1 \
        c-parse.o c-lang.o c-pretty-print.o stub-objc.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-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o libcpp.a  main.o libbackend.a ../libiberty/libiberty.a
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: c-parse.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
c-parse.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [cc1] Error 1
make[1]: Leaving directory `/home/portage_tmpdir/portage/gcc-3.4.4-r1/work/build/gcc'
make: *** [install-gcc] Error 2

!!! ERROR: sys-devel/gcc-3.4.4-r1 failed.
!!! Function gcc-compiler_src_install, Line 1488, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.





here are my infos..

emerge --info:
Code:

# emerge --info
Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r1, 2.6.13 x86_64)
=================================================================
System uname: 2.6.13 x86_64 AMD Opteron(tm) Processor 244
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage_tmpdir"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi amd64 apache2 avi bash-completion berkdb bitmap-fonts crypt cups curl eds emboss encode foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imlib innodb ipv6 jpeg kde libwww lzw lzw-tiff mod_php mp3 mpeg mysql ncurses nls nptl opengl pam pdflib perl php png python qt quicktime readline sdl spell ssl tcpd threads tiff truetype-fonts type1-fonts userlocales xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


gcc-config -l:
Code:

# gcc-config -l
 [1] x86_64-pc-linux-gnu-3.4.2
 [2] x86_64-pc-linux-gnu-3.4.2-hardened
 [3] x86_64-pc-linux-gnu-3.4.2-hardenednossp
 [4] x86_64-pc-linux-gnu-3.4.3 *
 [5] x86_64-pc-linux-gnu-3.4.3-hardenednopie
 [6] x86_64-pc-linux-gnu-3.4.3-hardenednossp
 [7] x86_64-pc-linux-gnu-3.4.3-vanilla


emerge -p world
Code:

# emerge -p world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     U ] sys-apps/shadow-4.0.7-r4 [4.0.7-r3]
[ebuild     U ] dev-php/php-4.4.0-r1 [4.4.0]
[ebuild     U ] sys-devel/gcc-3.4.4-r1 [3.4.3-r1]
[ebuild     U ] app-portage/eix-0.3.0-r1 [0.2.2]
[ebuild     U ] sys-apps/gawk-3.1.4-r4 [3.1.3-r2]
[ebuild     U ] app-admin/apachetop-0.12.5-r1 [0.12.5]
[ebuild     U ] app-misc/pax-utils-0.1.3 [0.1.1]
[ebuild     U ] sys-libs/glibc-2.3.5-r2 [2.3.5-r1]
[ebuild     U ] net-analyzer/bmon-2.1.0 [2.0.1]
[ebuild     U ] sys-devel/automake-1.9.6-r1 [1.9.6]
[ebuild     U ] sys-apps/util-linux-2.12r [2.12q-r3]
[ebuild     U ] dev-util/subversion-1.2.3-r1 [1.1.3]


i tried differnet kernels.
this is the only machine were i cant update gcc to gcc-3.4.4-r1.
any ideas?
i want/have to update my server.
Back to top
View user's profile Send private message
smack
n00b
n00b


Joined: 09 Dec 2004
Posts: 18

PostPosted: Thu Oct 06, 2005 5:00 pm    Post subject: Reply with quote

solved but seems strange to me.
had to change from x86_64-pc-linux-gnu-3.4.3 to x86_64-pc-linux-gnu-3.4.3-vanilla (gcc-config).

emerge of gcc-3.4.4-r1 failed.
Code:

# gcc-config -l
 [1] x86_64-pc-linux-gnu-3.4.2
 [2] x86_64-pc-linux-gnu-3.4.2-hardened
 [3] x86_64-pc-linux-gnu-3.4.2-hardenednossp
 [4] x86_64-pc-linux-gnu-3.4.3 *
 [5] x86_64-pc-linux-gnu-3.4.3-hardenednopie
 [6] x86_64-pc-linux-gnu-3.4.3-hardenednossp
 [7] x86_64-pc-linux-gnu-3.4.3-vanilla


emerge of gcc-3.4.4-r1 finished.
Code:

# gcc-config -l
 [1] x86_64-pc-linux-gnu-3.4.2
 [2] x86_64-pc-linux-gnu-3.4.2-hardened
 [3] x86_64-pc-linux-gnu-3.4.2-hardenednossp
 [4] x86_64-pc-linux-gnu-3.4.3
 [5] x86_64-pc-linux-gnu-3.4.3-hardenednopie
 [6] x86_64-pc-linux-gnu-3.4.3-hardenednossp
 [7] x86_64-pc-linux-gnu-3.4.3-vanilla *


now im on x86_64-pc-linux-gnu-3.4.4 :)
Code:

# gcc-config -l
 [1] x86_64-pc-linux-gnu-3.4.4 *
 [2] x86_64-pc-linux-gnu-3.4.4-hardened
 [3] x86_64-pc-linux-gnu-3.4.4-hardenednopie
 [4] x86_64-pc-linux-gnu-3.4.4-hardenednopiessp
 [5] x86_64-pc-linux-gnu-3.4.4-hardenednossp


btw. my profile is 2005.1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
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