This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/48318] Memory access error by "build/genhooks"?


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48318

--- Comment #6 from Markus Elfring <Markus.Elfring at web dot de> 2011-03-29 20:26:04 UTC ---
I would like to add that the previous results come from an environment where my
self-generated GNU compiler 4.52 should be usually called.

I have hoped to circumvent the reported unexpected behaviour with the following
configuration that specifies the tools that are provided by my Linux
distribution.

elfring@Sonne:~/Projekte/GNU/GCC/erzeugt/4.6.0/Auswahl3>
~/Projekte/GNU/GCC/Quellen/4.6.0/configure
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr/local
CC=/usr/bin/gcc CXX=/usr/bin/g++
...
elfring@Sonne:~/Projekte/GNU/GCC/erzeugt/4.6.0/Auswahl3> echo 'erzeugen ...' &&
XYZ=$(date) && make -j6 V=1 > Bauprotokoll.txt 2>&1 && date && echo "gestartet:
$XYZ"
erzeugen ...


The same error happened.

"...
/bin/sh: Zeile 1:  7397 Speicherzugriffsfehler  build/genhooks
/home/elfring/Projekte/GNU/GCC/Quellen/4.6.0/gcc/doc/tm.texi.in > tmp-tm.texi
make[3]: *** [s-tm-texi] Fehler 139
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: *** wait: Keine Kind-Prozesse.  Schluss.
make[2]: *** [all-stage2-gcc] Fehler 2
make[2]: Leaving directory
`/home/elfring/Projekte/GNU/GCC/erzeugt/4.6.0/Auswahl3'
make[1]: *** [stage2-bubble] Fehler 2
make[1]: Leaving directory
`/home/elfring/Projekte/GNU/GCC/erzeugt/4.6.0/Auswahl3'
make: *** [all] Fehler 2"

elfring@Sonne:~/Projekte/GNU/GCC/erzeugt/4.6.0/Auswahl3> dmesg
...
[37180.932325] genhooks[7397]: segfault at 60e880 ip 000000000060e880 sp
00007ffff159d058 error 15 in genhooks[60e000+1000]
elfring@Sonne:~/Projekte/GNU/GCC/erzeugt/4.6.0/Auswahl3/gcc> valgrind --verbose
--trace-children=yes --log-file=vg_log48318_%p.txt build/genhooks
/home/elfring/Projekte/GNU/GCC/Quellen/4.6.0/gcc/doc/tm.texi.in > tmp-tm.texi
Speicherzugriffsfehler


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]