Created attachment 291921 [details]
The package net-analyzer/gnome-nettool-2.32.0 compiles ok. But when started from gnome menu I see a fraction of a second the gui and then it disappaered. When starting gnome-nettool from the commandline, I receive this error:
User or root makes no difference.
teun@i5-750 ~ $ gnome-nettool
*** buffer overflow detected ***: gnome-nettool terminated
======= Backtrace: =========
======= Memory map: ========
08048000-08061000 r-xp 00000000 08:03 1063231 /usr/bin/gnome-nettool
08061000-08062000 r--p 00018000 08:03 1063231 /usr/bin/gnome-nettool
08062000-08063000 rw-p 00019000 08:03 1063231 /usr/bin/gnome-nettool
08a36000-08bc5000 rw-p 00000000 00:00 0 [heap]
For the rest of this error, see attachment.
Created attachment 291923 [details]
text of buffer overflow gnome-nettool
I cannot reproduce this :/
Have you tried to rebuild it with CFLAGS="-O2 -pipe" only?
(In reply to comment #3)
> Have you tried to rebuild it with CFLAGS="-O2 -pipe" only?
That solved it. Thanks!
This is a bug in gcc then, as it is using unproper CFLAGS when using "native", reassigning as gcc maintainers will know better how to handle problems like this
No, it just means it's getting triggered by some target-specific optimization. It's still gnome-nettool that needs fixing.
What does `echo "" | gcc -march=native -v -E - 2>&1 | grep cc1` say?
(In reply to comment #6)
> No, it just means it's getting triggered by some target-specific optimization.
> It's still gnome-nettool that needs fixing.
> What does `echo "" | gcc -march=native -v -E - 2>&1 | grep cc1` say?