Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261187 - dev-util/memprof fails to build with _FORTIFY_SOURCE=2
Summary: dev-util/memprof fails to build with _FORTIFY_SOURCE=2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: fortify-source
  Show dependency tree
 
Reported: 2009-03-04 16:54 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-07-16 20:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (memprof-0.6:20090304-155610.log,46.73 KB, text/plain)
2009-03-04 23:10 UTC, Diego Elio Pettenò (RETIRED)
Details
fix for O_CREAT bug in mi-perfctr.c (memprof_open_mode.patch,424 bytes, patch)
2009-03-11 20:14 UTC, Magnus Granberg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-03-04 16:54:07 UTC
Check attached build log.
Comment 1 Magnus Granberg gentoo-dev 2009-03-04 23:08:04 UTC
I dont't see any build log.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-03-04 23:10:33 UTC
Created attachment 183945 [details]
Build log

Sorry, it timed out :/
Comment 3 Magnus Granberg gentoo-dev 2009-03-11 20:14:17 UTC
Created attachment 184734 [details, diff]
fix for O_CREAT bug in mi-perfctr.c
Comment 4 Patrick Lauer gentoo-dev 2009-06-28 19:10:43 UTC
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -I/usr/include/libglade-2.0 -DDATADIR=\"/usr/share/memprof\" -DPKGLIBDIR=\"/usr/lib64/memprof\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -O2 -pipe -Wall -MT memintercept.lo -MD -MP -MF .deps/memintercept.Tpo -c memintercept.c -o memintercept.o >/dev/null 2>&1                         
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -I/usr/include/libglade-2.0 -DDATADIR=\"/usr/share/memprof\" -DPKGLIBDIR=\"/usr/lib64/memprof\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -O2 -pipe -Wall -MT stack-frame.lo -MD -MP -MF .deps/stack-frame.Tpo -c stack-frame.c  -fPIC -DPIC -o .libs/stack-frame.o                          
stack-frame.c: In function 'mi_call_with_signal_backtrace':                                                                                                                      
stack-frame.c:155: error: 'stack_frame' undeclared (first use in this function)                                                                                                  
stack-frame.c:155: error: (Each undeclared identifier is reported only once                                                                                                      
stack-frame.c:155: error: for each function it appears in.)                                                                                                                      
stack-frame.c:155: error: 'frame' undeclared (first use in this function)                                                                                                        
stack-frame.c:159: warning: left-hand operand of comma expression has no effect                                                                                                  
stack-frame.c:159: warning: value computed is not used                                                                                                                           
stack-frame.c:161: warning: implicit declaration of function 'next_frame'                                                                                                        
stack-frame.c:161: warning: left-hand operand of comma expression has no effect                                                                                                  
stack-frame.c:161: warning: value computed is not used                                                                                                                           
stack-frame.c:163: warning: implicit declaration of function 'frame_return_address'                                                                                              
stack-frame.c:163: warning: initialization makes pointer from integer without a cast                                                                                             
make[2]: *** [stack-frame.lo] Error 1                                                                                                                                            
make[2]: *** Waiting for unfinished jobs....

Looks like it needs some more love :)
Comment 5 Mike Pagano gentoo-dev 2009-07-16 20:54:51 UTC
Version bump added to tree (0.6.1) which fixes this issue.