https://bugzilla.novell.com/show_bug.cgi?id=680120
https://bugzilla.novell.com/show_bug.cgi?id=680120#c25
--- Comment #25 from Markus Elfring 2011-03-29 14:27:09 UTC ---
Created an attachment (id=421929)
--> (http://bugzilla.novell.com/attachment.cgi?id=421929)
valgrind log
I can provide a bit more informations if I include debug data for the affected
program explicitly.
Sonne:/usr/src/linux-2.6.38.y # /usr/local/bin/gcc
-Wp,-MD,scripts/basic/.fixdep.d -Wall -Wmissing-prototypes -Wstrict-prototypes
-O2 -fomit-frame-pointer -g -o scripts/basic/fixdep scripts/basic/fixdep.c
Sonne:/usr/src/linux-2.6.38.y # valgrind --verbose --trace-children=yes
--log-file=vg_log680120_%p.txt scripts/basic/fixdep scripts/basic/.fixdep.d
scripts/basic/fixdep 'gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall
-Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -o
scripts/basic/fixdep scripts/basic/fixdep.c' > scripts/basic/.fixdep.tmp
Segmentation fault
It seems that I can circumvent the unexpected behaviour with the following
commands.
Sonne:/usr/src/linux-2.6.38.y # /usr/bin/gcc -Wp,-MD,scripts/basic/.fixdep.d
-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -o
scripts/basic/fixdep scripts/basic/fixdep.c
Sonne:/usr/src/linux-2.6.38.y # scripts/basic/fixdep scripts/basic/.fixdep.d
scripts/basic/fixdep 'gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall
-Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -o
scripts/basic/fixdep scripts/basic/fixdep.c' > scripts/basic/.fixdep.tmp
How do you think about this result?
Why has the program that was generated by "my GCC 4.5.2" got problems?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.