Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ständige Kompilierfehler [solved]
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
magnum@paranoia
n00b
n00b


Joined: 16 Jan 2005
Posts: 33
Location: Munich

PostPosted: Mon Oct 10, 2005 2:25 pm    Post subject: Ständige Kompilierfehler [solved] Reply with quote

Hallo Leute,

ich habe ein ganz neues iBook G4, auf dem ich seit 2 Wochen Gentoo installiere. Bin auch schon ziemlich weit, sogar schlafen funktioniert schon. Auf meinem iBook G3 800 lief auch ohne Probleme Gentoo bis es kaputt gegangen ist...

Mein Problem nun ist, dass alles irgendwie "instabil" ist. Vor allem das emerge bricht sehr oft mit Kompilierfehlern ab, wobei die Fehler in der Regel nicht reproduzierbar sind. Beim zweiten Versuch klappt es oder es bricht an einer anderen Stelle ab.

Oft steht als Fehler dort:
powerpc-unknown-linux-gnu-g++: Internal error: Segmentation fault

oft aber auch noch dieses hier:
The bug is not reproduceable, so it is likely a hardware or OS problem

Ich habe dann den Apple Hardware Test durchlaufen lassen, ohne Fehler und dann noch memtestosx die ganze Nacht, auch ohne Fehler. MacOSX läuft auch ohne Probleme, hab testweise auch was unter OS X kompiliert. Gibt es ein Programm. das die Hardware, vor allem die CPU, noch besser testet? Idealerweise für MacOSX, dann kann ich das gleich Apple unter die Nase halten zwecks Garantiefall.

Ich habe auch gcc, glibc und den Kernel nochmal neu kompiliert, ohne Veränderung. Hier hat er interessanterweise noch nie Kompilierfehler gemacht, den Kernel habe ich schon sehr oft neu kompiliert.

Hab es schon mit und ohne X11 und mit CPU auf 1,33GHz, 666Mhz und mit powernowd probiert und keine Unterschiede festgestellt.

Um den Fehler weiter einzugrenzen werde ich dann als nächstes wohl testweise mal eine andere Linuxdistri installieren.

Hier mal eine aktuelle Demonstration, das Programm wurde beim 4. Versuch dann erfolgreich kompiliert:


Versuch 1:
==========

Code:
ibookg4 ~ # emerge -av taglib

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

Calculating dependencies ...done!
[ebuild  N    ] media-libs/taglib-1.3.1  -debug 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No]
>>> emerge (1 of 1) media-libs/taglib-1.3.1 to /
>>> md5 files   ;-) taglib-1.4.ebuild
>>> md5 files   ;-) taglib-1.3.1.ebuild

[...]

Making all in toolkit
make[3]: Entering directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1/taglib/toolkit'
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT tstring.lo -MD -MP -MF ".deps/tstring.Tpo" \
  -c -o tstring.lo `test -f 'tstring.cpp' || echo './'`tstring.cpp; \
then mv -f ".deps/tstring.Tpo" ".deps/tstring.Plo"; \
else rm -f ".deps/tstring.Tpo"; exit 1; \
fi
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT tstringlist.lo -MD -MP -MF ".deps/tstringlist.Tpo" \
  -c -o tstringlist.lo `test -f 'tstringlist.cpp' || echo './'`tstringlist.cpp; \
then mv -f ".deps/tstringlist.Tpo" ".deps/tstringlist.Plo"; \
else rm -f ".deps/tstringlist.Tpo"; exit 1; \
fi
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT tbytevector.lo -MD -MP -MF ".deps/tbytevector.Tpo" \
  -c -o tbytevector.lo `test -f 'tbytevector.cpp' || echo './'`tbytevector.cpp; \
then mv -f ".deps/tbytevector.Tpo" ".deps/tbytevector.Plo"; \
else rm -f ".deps/tbytevector.Tpo"; exit 1; \
fi
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT tbytevectorlist.lo -MD -MP -MF ".deps/tbytevectorlist.Tpo" \
  -c -o tbytevectorlist.lo `test -f 'tbytevectorlist.cpp' || echo './'`tbytevectorlist.cpp; \
then mv -f ".deps/tbytevectorlist.Tpo" ".deps/tbytevectorlist.Plo"; \
else rm -f ".deps/tbytevectorlist.Tpo"; exit 1; \
fi
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT tfile.lo -MD -MP -MF ".deps/tfile.Tpo" \
  -c -o tfile.lo `test -f 'tfile.cpp' || echo './'`tfile.cpp; \
then mv -f ".deps/tfile.Tpo" ".deps/tfile.Plo"; \
else rm -f ".deps/tfile.Tpo"; exit 1; \
fi
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT tdebug.lo -MD -MP -MF ".deps/tdebug.Tpo" \
  -c -o tdebug.lo `test -f 'tdebug.cpp' || echo './'`tdebug.cpp; \
then mv -f ".deps/tdebug.Tpo" ".deps/tdebug.Plo"; \
else rm -f ".deps/tdebug.Tpo"; exit 1; \
fi
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT unicode.lo -MD -MP -MF ".deps/unicode.Tpo" \
  -c -o unicode.lo `test -f 'unicode.cpp' || echo './'`unicode.cpp; \
then mv -f ".deps/unicode.Tpo" ".deps/unicode.Plo"; \
else rm -f ".deps/unicode.Tpo"; exit 1; \
fi
/bin/sh ../../libtool --silent --mode=link powerpc-unknown-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new   -o libtoolkit.la   tstring.lo tstringlist.lo tbytevector.lo tbytevectorlist.lo tfile.lo tdebug.lo unicode.lo
make[3]: Leaving directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1/taglib/toolkit'

[...]

Making all in id3v1
make[4]: Entering directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1/taglib/mpeg/id3v1'
if /bin/sh ../../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../taglib -I../../../taglib/toolkit -I../../../taglib/mpeg     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT id3v1tag.lo -MD -MP -MF ".deps/id3v1tag.Tpo" \
  -c -o id3v1tag.lo `test -f 'id3v1tag.cpp' || echo './'`id3v1tag.cpp; \
then mv -f ".deps/id3v1tag.Tpo" ".deps/id3v1tag.Plo"; \
else rm -f ".deps/id3v1tag.Tpo"; exit 1; \
fi
if /bin/sh ../../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../taglib -I../../../taglib/toolkit -I../../../taglib/mpeg     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT id3v1genres.lo -MD -MP -MF ".deps/id3v1genres.Tpo" \
  -c -o id3v1genres.lo `test -f 'id3v1genres.cpp' || echo './'`id3v1genres.cpp; \
then mv -f ".deps/id3v1genres.Tpo" ".deps/id3v1genres.Plo"; \
else rm -f ".deps/id3v1genres.Tpo"; exit 1; \
fi
powerpc-unknown-linux-gnu-g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[4]: *** [id3v1genres.lo] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1/taglib/mpeg/id3v1'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1/taglib/mpeg'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1/taglib'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1'
make: *** [all] Fehler 2

!!! ERROR: media-libs/taglib-1.3.1 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Versuch 2:
==========

Code:

ibookg4 ~ # emerge -av taglib

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

Calculating dependencies ...done!
[ebuild  N    ] media-libs/taglib-1.3.1  -debug 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No]
>>> emerge (1 of 1) media-libs/taglib-1.3.1 to /
>>> md5 files   ;-) taglib-1.4.ebuild
>>> md5 files   ;-) taglib-1.3.1.ebuild

[...]

Making all in toolkit
make[3]: Entering directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1/taglib/toolkit'
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT tstring.lo -MD -MP -MF ".deps/tstring.Tpo" \
  -c -o tstring.lo `test -f 'tstring.cpp' || echo './'`tstring.cpp; \
then mv -f ".deps/tstring.Tpo" ".deps/tstring.Plo"; \
else rm -f ".deps/tstring.Tpo"; exit 1; \
fi
powerpc-unknown-linux-gnu-g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [tstring.lo] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1/taglib/toolkit'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1/taglib'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1'
make: *** [all] Fehler 2

!!! ERROR: media-libs/taglib-1.3.1 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Hier ist er also an einer Stelle ausgestiegen, bei der beim ersten Versuch noch alles geklappt hat!

Versuch 3:
==========

identisch wie beim 2. Versuch


Nach einem Reboot:

Versuch 4:
==========

Code:

[...]

make[2]: Entering directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1/taglib'
Making all in toolkit
make[3]: Entering directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1/taglib/toolkit'
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT tstring.lo -MD -MP -MF ".deps/tstring.Tpo" \
  -c -o tstring.lo `test -f 'tstring.cpp' || echo './'`tstring.cpp; \
then mv -f ".deps/tstring.Tpo" ".deps/tstring.Plo"; \
else rm -f ".deps/tstring.Tpo"; exit 1; \
fi
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT tstringlist.lo -MD -MP -MF ".deps/tstringlist.Tpo" \
  -c -o tstringlist.lo `test -f 'tstringlist.cpp' || echo './'`tstringlist.cpp; \
then mv -f ".deps/tstringlist.Tpo" ".deps/tstringlist.Plo"; \
else rm -f ".deps/tstringlist.Tpo"; exit 1; \
fi
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT tbytevector.lo -MD -MP -MF ".deps/tbytevector.Tpo" \
  -c -o tbytevector.lo `test -f 'tbytevector.cpp' || echo './'`tbytevector.cpp; \
then mv -f ".deps/tbytevector.Tpo" ".deps/tbytevector.Plo"; \
else rm -f ".deps/tbytevector.Tpo"; exit 1; \
fi
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT tbytevectorlist.lo -MD -MP -MF ".deps/tbytevectorlist.Tpo" \
  -c -o tbytevectorlist.lo `test -f 'tbytevectorlist.cpp' || echo './'`tbytevectorlist.cpp; \
then mv -f ".deps/tbytevectorlist.Tpo" ".deps/tbytevectorlist.Plo"; \
else rm -f ".deps/tbytevectorlist.Tpo"; exit 1; \
fi
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT tfile.lo -MD -MP -MF ".deps/tfile.Tpo" \
  -c -o tfile.lo `test -f 'tfile.cpp' || echo './'`tfile.cpp; \
then mv -f ".deps/tfile.Tpo" ".deps/tfile.Plo"; \
else rm -f ".deps/tfile.Tpo"; exit 1; \
fi
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT tdebug.lo -MD -MP -MF ".deps/tdebug.Tpo" \
  -c -o tdebug.lo `test -f 'tdebug.cpp' || echo './'`tdebug.cpp; \
then mv -f ".deps/tdebug.Tpo" ".deps/tdebug.Plo"; \
else rm -f ".deps/tdebug.Tpo"; exit 1; \
fi
if /bin/sh ../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT unicode.lo -MD -MP -MF ".deps/unicode.Tpo" \
  -c -o unicode.lo `test -f 'unicode.cpp' || echo './'`unicode.cpp; \
then mv -f ".deps/unicode.Tpo" ".deps/unicode.Plo"; \
else rm -f ".deps/unicode.Tpo"; exit 1; \
fi
/bin/sh ../../libtool --silent --mode=link powerpc-unknown-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new   -o libtoolkit.la   tstring.lo tstringlist.lo tbytevector.lo tbytevectorlist.lo tfile.lo tdebug.lo unicode.lo
make[3]: Leaving directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1/taglib/toolkit'
[...]
Making all in id3v1
make[4]: Entering directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1/taglib/mpeg/id3v1'
if /bin/sh ../../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../taglib -I../../../taglib/toolkit -I../../../taglib/mpeg     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT id3v1tag.lo -MD -MP -MF ".deps/id3v1tag.Tpo" \
  -c -o id3v1tag.lo `test -f 'id3v1tag.cpp' || echo './'`id3v1tag.cpp; \
then mv -f ".deps/id3v1tag.Tpo" ".deps/id3v1tag.Plo"; \
else rm -f ".deps/id3v1tag.Tpo"; exit 1; \
fi
if /bin/sh ../../../libtool --silent --mode=compile powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../taglib -I../../../taglib/toolkit -I../../../taglib/mpeg     -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new -MT id3v1genres.lo -MD -MP -MF ".deps/id3v1genres.Tpo" \
  -c -o id3v1genres.lo `test -f 'id3v1genres.cpp' || echo './'`id3v1genres.cpp; \
then mv -f ".deps/id3v1genres.Tpo" ".deps/id3v1genres.Plo"; \
else rm -f ".deps/id3v1genres.Tpo"; exit 1; \
fi
/bin/sh ../../../libtool --silent --mode=link powerpc-unknown-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt -fno-exceptions -fno-check-new   -o libid3v1.la   id3v1tag.lo id3v1genres.lo
make[4]: Leaving directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1/taglib/mpeg/id3v1'

[...]

make[1]: Leaving directory `/var/tmp/portage/taglib-1.3.1/work/taglib-1.3.1'
man:
prepallstrip:
strip: powerpc-unknown-linux-gnu-strip --strip-unneeded
strip: powerpc-unknown-linux-gnu-strip --strip-unneeded
   usr/lib/libtag.so.1.3.0
   usr/lib/libtag_c.so.0.0.0
making executable: /usr/lib/libtag_c.so.0.0.0
making executable: /usr/lib/libtag.so.1.3.0
>>> Completed installing taglib-1.3.1 into /var/tmp/portage/taglib-1.3.1/image/

>>> Merging media-libs/taglib-1.3.1 to /
--- /usr/
--- /usr/include/
>>> /usr/include/taglib/
>>> /usr/include/taglib/taglib.h
>>> /usr/include/taglib/tstring.h
>>> /usr/include/taglib/tlist.h
>>> /usr/include/taglib/tlist.tcc
>>> /usr/include/taglib/tstringlist.h
>>> /usr/include/taglib/tbytevector.h
>>> /usr/include/taglib/tbytevectorlist.h
>>> /usr/include/taglib/tfile.h
>>> /usr/include/taglib/tdebug.h
>>> /usr/include/taglib/tmap.h
>>> /usr/include/taglib/tmap.tcc
>>> /usr/include/taglib/id3v1tag.h
>>> /usr/include/taglib/id3v1genres.h
>>> /usr/include/taglib/attachedpictureframe.h
>>> /usr/include/taglib/commentsframe.h
>>> /usr/include/taglib/relativevolumeframe.h
>>> /usr/include/taglib/textidentificationframe.h
>>> /usr/include/taglib/uniquefileidentifierframe.h
>>> /usr/include/taglib/unknownframe.h
>>> /usr/include/taglib/id3v2extendedheader.h
>>> /usr/include/taglib/id3v2frame.h
>>> /usr/include/taglib/id3v2header.h
>>> /usr/include/taglib/id3v2synchdata.h
>>> /usr/include/taglib/id3v2footer.h
>>> /usr/include/taglib/id3v2framefactory.h
>>> /usr/include/taglib/id3v2tag.h
>>> /usr/include/taglib/mpegfile.h
>>> /usr/include/taglib/mpegproperties.h
>>> /usr/include/taglib/mpegheader.h
>>> /usr/include/taglib/xingheader.h
>>> /usr/include/taglib/vorbisfile.h
>>> /usr/include/taglib/vorbisproperties.h
>>> /usr/include/taglib/oggflacfile.h
>>> /usr/include/taglib/oggfile.h
>>> /usr/include/taglib/oggpage.h
>>> /usr/include/taglib/oggpageheader.h
>>> /usr/include/taglib/xiphcomment.h
>>> /usr/include/taglib/flacfile.h
>>> /usr/include/taglib/flacproperties.h
>>> /usr/include/taglib/apetag.h
>>> /usr/include/taglib/apefooter.h
>>> /usr/include/taglib/apeitem.h
>>> /usr/include/taglib/mpcfile.h
>>> /usr/include/taglib/mpcproperties.h
>>> /usr/include/taglib/tag.h
>>> /usr/include/taglib/fileref.h
>>> /usr/include/taglib/audioproperties.h
>>> /usr/include/taglib/tag_c.h
--- /usr/bin/
>>> /usr/bin/taglib-config
--- /usr/lib/
>>> /usr/lib/libtag.so.1.3.0
>>> /usr/lib/libtag.so.1 -> libtag.so.1.3.0
>>> /usr/lib/libtag.so -> libtag.so.1.3.0
>>> /usr/lib/libtag.la
>>> /usr/lib/libtag_c.so.0.0.0
>>> /usr/lib/libtag_c.so.0 -> libtag_c.so.0.0.0
>>> /usr/lib/libtag_c.so -> libtag_c.so.0.0.0
>>> /usr/lib/libtag_c.la
>>> Regenerating /etc/ld.so.cache...
>>> media-libs/taglib-1.3.1 merged.
>>> Recording media-libs/taglib in "world" favorites file...

>>> clean: No packages selected for removal.

>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.
 * IMPORTANT: 1 config files in /etc need updating.
 * IMPORTANT: 3 config files in /usr/kde/3.4/share/config need updating.
 * Type emerge --help config to learn how to update config files.




Hier noch ein paar Infos:
=========================

Code:
ibookg4 ~ # emerge --info
Portage 2.0.51.22-r2 (default-linux/ppc/2005.1/ppc/G4, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.14-rc3-git7 ppc)
=================================================================
System uname: 2.6.14-rc3-git7 ppc 7447A, altivec supported
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.90.0.3-r5
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/"
LC_ALL="de_DE.UTF-8"
LINGUAS="de en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X alsa altivec apache2 bash-completion berkdb bitmap-fonts bluetooth bzip2 cdparanoia cdr crypt cups curl dri dvd eds emboss encode fam fbcon flac flash gif gimp gpm gstreamer gtk gtk2 imlib jpeg kde libwww mad motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl php png python qt quicktime radeon readline scanner sdl spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb vorbis xml2 xmms xv zlib linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY

ibookg4 ~ # cat /proc/cpuinfo
processor       : 0
cpu             : 7447A, altivec supported
clock           : 1333MHz
revision        : 0.5 (pvr 8003 0105)
bogomips        : 1327.10
machine         : PowerBook6,7
motherboard     : PowerBook6,7 MacRISC3 Power Macintosh
detected as     : 287 (iBook G4)
pmac flags      : 0000001b
L2 cache        : 512K unified
memory          : 512MB
pmac-generation : NewWorld



Hoffentlich hat noch jemand eine Idee!
Danke, Magnum \m/


Last edited by magnum@paranoia on Sun Oct 16, 2005 5:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
Raistlin
l33t
l33t


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

PostPosted: Mon Oct 10, 2005 3:02 pm    Post subject: Reply with quote

Hi,

Als ich hier nachgesehen habe, fragte ich mich, warum du nicht
Code:
-mcpu=G4
genommen hast...
_________________
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
oscarwild
l33t
l33t


Joined: 15 Jul 2003
Posts: 857
Location: Memmingen, Germany, Old Europe, Earth

PostPosted: Tue Oct 11, 2005 11:03 am    Post subject: Re: Ständige Kompilierfehler Reply with quote

Hallo Magnum,

magnum@paranoia wrote:
Mein Problem nun ist, dass alles irgendwie "instabil" ist. Vor allem das emerge bricht sehr oft mit Kompilierfehlern ab, wobei die Fehler in der Regel nicht reproduzierbar sind. Beim zweiten Versuch klappt es oder es bricht an einer anderen Stelle ab.


Das ist ein relativ sicheres Indiz für schadhafte RAMs. Lass am besten mal einen ausgiebigen Speichertest drüberlaufen...

Gruß
OscarWild
_________________
http://blog.selbsthilfenetzwerk-cannabis-medizin.de
Back to top
View user's profile Send private message
blue.sca
l33t
l33t


Joined: 28 Aug 2003
Posts: 680
Location: Mainz, Germany

PostPosted: Tue Oct 11, 2005 11:28 am    Post subject: Reply with quote

Punkt 1: Poste doch bitte nicht so lange Code-Segmente. Das bringt wenig, die letzten 5 Zeilel reichen gewöhnlich.
Punkt 2: Segemntion Faults und diese unregelmässigen Compile Errors deuten auf eine falsche Konfiguration. Nachdem ich mir das alles angeschaut habe, denke ich, die Kernel-Sources sind nicht ganz für ppc ausgelegt. Vielleicht hast du ja mal einen Download-Link oder die Patchliste da, damit ich mir das mal anschauen kann. Ich hatte mit den nitro-sources hier aus dem Forum ähnliche Probleme mit meinem iBook. Wenn du gute, stabile Sources suchst empfehle ich cko-sources. Laufen sehr stabil und schnell.

Ansonsten sieht deine Konfiguration vernünftig aus, CFLAGS sind ok und am RAM liegt es sicher nicht.
_________________
geek by nature, linux by choice
i want my avatar back... thank you
:wq
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Tue Oct 11, 2005 12:59 pm    Post subject: Reply with quote

Meines Wissens ist der GCC immer noch ein deterministischer Compiler und damit scheiden Software Bugs und falsche Einstellungen (CFLAGS etc.) aus, wenn der Fehler nicht reproduzierbar ist. Also die Hardware überprüfen.
_________________
KDE
Back to top
View user's profile Send private message
SkaaliaN
Veteran
Veteran


Joined: 21 Apr 2005
Posts: 1363
Location: Valhalla

PostPosted: Tue Oct 11, 2005 1:03 pm    Post subject: Reply with quote

hast du die binutils schon geupdatet und schon memtest laufen lassen?? schonmal arbeitsspeicher ausgebaut, slot durchgepustet und eingebaut???
_________________
c'ya !
skaalian
Back to top
View user's profile Send private message
petter_r
n00b
n00b


Joined: 30 Mar 2004
Posts: 26

PostPosted: Tue Oct 11, 2005 1:47 pm    Post subject: Reply with quote

Frage hast du beim Kernel dieses " preemptive kernel support" aktiviert, das macht nämlich auf ppc Probleme. Genausolche Fehler wie du hast treten auf, wenn man diese Option aktiviert hat. Also deaktivieren und noch mal probieren.

Grüße

Ralf
Back to top
View user's profile Send private message
Aldo
Guru
Guru


Joined: 15 Jan 2003
Posts: 440
Location: Cologne, Germany

PostPosted: Tue Oct 11, 2005 1:53 pm    Post subject: Reply with quote

Was bedeuten denn die Use-Flags ppc und radeon?
Da hab ich nirgends was zu finden können...
_________________
Abit A-N78-HD
Phenom 9750
8 GB Ram
Linux 2.6.29-gentoo
FreeBSD 7.2
Back to top
View user's profile Send private message
Raistlin
l33t
l33t


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

PostPosted: Tue Oct 11, 2005 2:28 pm    Post subject: Reply with quote

@oscarwild, @Scup -->
magnum@paranoia wrote:
Ich habe dann den Apple Hardware Test durchlaufen lassen, ohne Fehler und dann noch memtestosx die ganze Nacht, auch ohne Fehler.


Er hat also einen Memtest laufen lassen.
_________________
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
magnum@paranoia
n00b
n00b


Joined: 16 Jan 2005
Posts: 33
Location: Munich

PostPosted: Fri Oct 14, 2005 9:47 pm    Post subject: Reply with quote

blue.sca wrote:
Nachdem ich mir das alles angeschaut habe, denke ich, die Kernel-Sources sind nicht ganz für ppc ausgelegt. Vielleicht hast du ja mal einen Download-Link oder die Patchliste da, damit ich mir das mal anschauen kann.


Ich verschiedene vanilla-Kernels (2.6.12-2.6.14), die ich mit genkernel gebaut habe, ausprobiert ohne einen Unterschied festzustellen.

blue.sca wrote:
Ich hatte mit den nitro-sources hier aus dem Forum ähnliche Probleme mit meinem iBook. Wenn du gute, stabile Sources suchst empfehle ich cko-sources. Laufen sehr stabil und schnell.


Hab den Kernel von dort ausprobiert und da hatte ich dann keine Kompilierprobleme mehr! Nach viel ausprobieren habe ich nun einen Kernel 2.4.14-rc4, einmal mit einer instabilen und einmal mit einer stabilen Konfiguration. Die Konfigurationen unterscheinden sich nur dadurch, dass ich bei der stabilen Konfiguration kein CPU Frequency Scaling (CONFIG_CPU_FREQ) aktiviert habe.

Der nun bei mir laufende Kernel hat nun eben kein CPU Frequency Scaling und kompiliert ohne Probleme. Es gibt zwar noch diverse andere Stabilitätsprobleme mit verschiedenen Modulen, aber das kompilieren geht nun zuverlässig.

Vielen Dank für die Tips!
Magnum \m/
Back to top
View user's profile Send private message
magnum@paranoia
n00b
n00b


Joined: 16 Jan 2005
Posts: 33
Location: Munich

PostPosted: Fri Oct 14, 2005 9:58 pm    Post subject: Reply with quote

petter_r wrote:
Frage hast du beim Kernel dieses " preemptive kernel support" aktiviert, das macht nämlich auf ppc Probleme. Genausolche Fehler wie du hast treten auf, wenn man diese Option aktiviert hat. Also deaktivieren und noch mal probieren.


Ja, das war aktiviert. Allerdings auch bei dem neuen Kernel, der ja schon stabil kompiliert. Hm. Werde mal testweise einen Kernel mit CPU Freq Scaling bauen, aber ohne diese Preemption.

Magnum \m/
Back to top
View user's profile Send private message
lord.hong
n00b
n00b


Joined: 17 Feb 2004
Posts: 32

PostPosted: Sun Oct 16, 2005 10:43 am    Post subject: Reply with quote

Obwohl das schon ausgeschlossen wurde, sieht das für mich wie fehlerhafter RAM aus.
Back to top
View user's profile Send private message
magnum@paranoia
n00b
n00b


Joined: 16 Jan 2005
Posts: 33
Location: Munich

PostPosted: Sun Oct 16, 2005 5:02 pm    Post subject: Ständige Kompilierfehler [solved] Reply with quote

Ich habe nun einen Kernel mit

CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set

und mit CPU Frequency Scaling und allem anderen was ich brauche gebaut und der läuft und kompiliert auch stabil. Anscheinend war es die Kombination aus CONFIG_PREEMPT und CONFIG_CPU_FREQ, die die Fehler verursacht hat.

Die Lösung stand also in der FAQ *schäm* ;-)

Magnum \m/
Back to top
View user's profile Send private message
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Sun Oct 16, 2005 5:56 pm    Post subject: Reply with quote

Nur noch eine Frage: Läuft der kernel ohne PREEMPT nicht langsamer?
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