Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glibc - Fehler beim kompilieren
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
JDieskau
n00b
n00b


Joined: 24 Jun 2005
Posts: 13
Location: Germany

PostPosted: Fri Jun 24, 2005 2:43 pm    Post subject: glibc - Fehler beim kompilieren Reply with quote

Ich habe versucht mein System neu zukompilieren, also world. Nur leider schaff ich es einfach nicht glibc zu bauen - ich dachte erst es liegt an ntpl, aber auch wenn es ausgeschaltet ist, funktioniert es nicht. Folgende Fehlermeldungen:
Quote:
../sysdeps/generic/libc-start.c: In function `__libc_start_main':
../sysdeps/generic/libc-start.c:192: warning: implicit declaration of function `__guard_setup'
distcc ../sysdeps/unix/sysv/linux/i386/sysdep.S -c -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20041102-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/csu -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20041102-r1/work/build-default-i686-pc-linux-gnu-linuxthreads -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include -isystem //usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -DASSEMBLER -I/var/tmp/portage/glibc-2.3.4.20041102-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/csu/. -DGAS_SYNTAX -Wa,--noexecstack -o /var/tmp/portage/glibc-2.3.4.20041102-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/csu/sysdep.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20041102-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/csu/sysdep.o.dt -MT /var/tmp/portage/glibc-2.3.4.20041102-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/csu/sysdep.o
distcc[19856] (dcc_execvp) ERROR: failed to exec ../sysdeps/unix/sysv/linux/i386/sysdep.S: No such file or directory
distcc[19855] ERROR: compile (null) on localhost failed with exit code 110
make[2]: *** [/var/tmp/portage/glibc-2.3.4.20041102-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/csu/sysdep.o] Error 110
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20041102-r1/work/glibc-2.3.3'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.4.20041102-r1 failed.
!!! Function src_compile, Line 746, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Ich hab echt alles versucht, auch die neusten als ~x86 gekennzeichneten Versionen - nichts half, überall das gleiche. Zum probieren ist meine hab ich sogar CFLAGS="-02 -march=i686" gesetzt - da kann ja nicht viel falsch sein. LDFLAGS hab ich dann auch einfach rauskommentiert, brachte aber auch nichts.

Was soll ich tun? Wer kann mir da irgendwie helfen? Habe Gentoo per Stage2 installiert, benutze nun auch schon seit 2 Jahren Linux, jedoch erst seit ein paar Tagen Gentoo.

Danke auf jedenfall schonmal :)

EDIT: Eine Sache noch, habe gcc 3.4.4 liegt es eventuell daran?
Back to top
View user's profile Send private message
Raistlin
l33t
l33t


Joined: 17 May 2004
Posts: 691
Location: Boston, MA

PostPosted: Fri Jun 24, 2005 3:08 pm    Post subject: Reply with quote

Hi,

poste doch einmal deine USE Flags...
Ich denke nicht, dass es an gcc liegt - auf jeden Fall nicht alleine :wink:
Meine Augenmerk richtet sich eher auf distcc...

Gruss, R.
_________________
Zwei Was Eins Initially

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
Back to top
View user's profile Send private message
Hilefoks
l33t
l33t


Joined: 29 Jan 2003
Posts: 849
Location: Emden / Deutschland

PostPosted: Fri Jun 24, 2005 3:10 pm    Post subject: Reply with quote

Moin,

laufen auf den anderen distcc Rechnern auch die gleiche gcc-Version? Wenn nicht ist das wohl der Fehler!

Mfg Hilefoks
Back to top
View user's profile Send private message
JDieskau
n00b
n00b


Joined: 24 Jun 2005
Posts: 13
Location: Germany

PostPosted: Fri Jun 24, 2005 3:15 pm    Post subject: Reply with quote

An distcc wird es wohl kaum liegen - da ich momentan der einzige Rechner hier im kleinem Netzwerk bin auf dem distcc läuft und ich somit ganz alleine kompiliere :)

USE="font-server aac 3dnow gtk -gnome kde qt mmx sse msn icq video mp3 ogg oggvorbis divx4linux win32codecs openal opengl arts ssl hal mono dbus fbcon -bluetouth freetype truetype mozilla pdflib xinerama dga gphoto2 java flac speex sse2 mmx2 lirc xine mplayer samba dvd ffmpeg vcd dvdr cdrom cdr v4l theora accessibility slang transcode mysql gd usb real tcltk ode flash epiphany network jpeg2k bzip2 pic"
Back to top
View user's profile Send private message
JDieskau
n00b
n00b


Joined: 24 Jun 2005
Posts: 13
Location: Germany

PostPosted: Fri Jun 24, 2005 4:17 pm    Post subject: Reply with quote

Und hier hattet recht :o Es lag am distcc - auch wenn der PC hier der einzige war der kompiliert... komisch.

Ich hab ein export CC=gcc gemacht und es probiert und jaa, es funktioniert. Nun muss ich lediglich noch 1002 Pakete emergen und schon bin ich fertig... nen klacks :roll:

Aber sagt mal, woran habt ihr gesehen das es distcc ist? Ich will ja auch mal was lernen ;)
Back to top
View user's profile Send private message
wrtlprnft
n00b
n00b


Joined: 08 Jun 2005
Posts: 21

PostPosted: Fri Jun 24, 2005 4:36 pm    Post subject: Reply with quote

JDieskau wrote:
Aber sagt mal, woran habt ihr gesehen das es distcc ist? Ich will ja auch mal was lernen ;)
Schau dir mal die dritte Zeile von deiner emerge- Ausgabe an;)
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Fri Jun 24, 2005 4:40 pm    Post subject: Reply with quote

JDieskau wrote:
Nun muss ich lediglich noch 1002 Pakete emergen und schon bin ich fertig... nen klacks :roll:
Warum denn soviele?

Quote:
Aber sagt mal, woran habt ihr gesehen das es distcc ist? Ich will ja auch mal was lernen ;)
An der Fehlermeldung?

Gruß,
/dev
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Fri Jun 24, 2005 4:41 pm    Post subject: Reply with quote

wrtlprnft wrote:
Schau dir mal die dritte Zeile von deiner emerge- Ausgabe an;)
Das ist keine Fehlermeldung.

Gruß,
/dev
Back to top
View user's profile Send private message
JDieskau
n00b
n00b


Joined: 24 Jun 2005
Posts: 13
Location: Germany

PostPosted: Fri Jun 24, 2005 5:07 pm    Post subject: Reply with quote

Für mich war die Fehlermeldung -> "ERROR: failed to exec ../sysdeps/unix/sysv/linux/i386/sysdep.S: No such file or directory" und ich dachte irgendwie hat es damit zu tun. Ich kann kein C oder ähnliches (bzw nur Ansatzweise), somit weiß ich mit den Ausgaben in viele fällen nix anzufangen, manchmal ists sofort deutlich woran es liegt, aber in dem fall (für mich) nicht.

1002 Pakete sinds, die ich neu emerge, da ich alles Pakete neu bauen will. Also im Prinzip das gesamte System - das wird sicherlich auch noch eine weile dauern. Aber wo wir gerade dabei sind, ist an den CFLAGS was einzuwenden?

Code:
CFLAGS="-O2 -march=pentium4 -fno-thread-jumps -fgcse -fcaller-saves -fdelete-null-pointer-checks -falign-loops -fno-math-errno -fomit-frame-pointer -pipe -fno-merge-constants -fno-defer-pop -fno-thread-jumps -fno-if-conversion2 -fno-loop-optimize -frename-registers -fweb -fpeephole2 -funswitch-loops -mieee-fp -funroll-loops -fschedule-insns2"
Back to top
View user's profile Send private message
Hilefoks
l33t
l33t


Joined: 29 Jan 2003
Posts: 849
Location: Emden / Deutschland

PostPosted: Sat Jun 25, 2005 2:55 pm    Post subject: Reply with quote

JDieskau wrote:
Aber wo wir gerade dabei sind, ist an den CFLAGS was einzuwenden?
Code:
CFLAGS="-O2 -march=pentium4 -fno-thread-jumps -fgcse -fcaller-saves -fdelete-null-pointer-checks -falign-loops -fno-math-errno -fomit-frame-pointer -pipe -fno-merge-constants -fno-defer-pop -fno-thread-jumps -fno-if-conversion2 -fno-loop-optimize -frename-registers -fweb -fpeephole2 -funswitch-loops -mieee-fp -funroll-loops -fschedule-insns2"

Oh! Ich kenne deine Flags nicht alle und kann dir nicht wirklich sagen ob sie Sinnvoll sind -> Aber ich denke sie sind es nicht! Ich denke das was du dort nutzt könnte mit -O3 aufs gleiche rauskommen und ein -fno-loop-optimize klinkt auch nicht gerade nach Optimierung! Schau mal nochmals lieber in die manpages des gcc bevor du alles neu Übersetzt.

Wie gesagt: ich kann es dir nicht wirklich sagen, - aber ich denke kaum einer wird solche Flags benutzen!

Mfg Hilefoks
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Sat Jun 25, 2005 3:38 pm    Post subject: Reply with quote

Eins ist sicher: Obs an den CFLAGS liegt oder nicht, mit diesen CFLAGS wird dir niemand einen Bugreport akzeptieren.
Ich würde dir empfehlen das System einmal mit den als sicher bekannten CFLAGS neu zu übersetzen und wenn der Fehler dann noch auftritt einen Bugreport dazu zu erstellen (und vorher suchen ob es schon einen gibt).
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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