Bug 746349 - pgadmin3 1.14.0-1 built without -g in CFLAGS
Summary: pgadmin3 1.14.0-1 built without -g in CFLAGS
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pgadmin3
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Devrim Gündüz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: DebugInfo
TreeView+ depends on / blocked
 
Reported: 2011-10-14 21:22 UTC by Ville Skyttä
Modified: 2012-05-11 15:53 UTC (History)
1 user (show)

Fixed In Version: 1.14.2-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-11 15:53:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ville Skyttä 2011-10-14 21:22:31 UTC
pgadmin3 1.14.0-1 is built without -g in CFLAGS, making -debuginfo useless:
http://kojipkgs.fedoraproject.org/packages/pgadmin3/1.14.0/1.fc17/data/logs/x86_64/build.log

Comment 1 Devrim Gündüz 2011-10-17 04:38:44 UTC
I see

+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m64 -mtune=generic'

there. Am I missing something else?

Comment 2 Ville Skyttä 2011-10-17 14:54:49 UTC
(In reply to comment #1)
> Am I missing something else?

Yes.  Look at the actual compiler command lines that are used, for example:

g++ -DHAVE_CONFIG_H -I. -I..  -DDATA_DIR=\"/usr/share/pgadmin3/\" -I../pgadmin/include   -I/usr/include -I/usr/include/pgsql/server -I/usr/include/pgsql -DHAVE_CONNINFO_PARSE -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DEMBED_XRC -I/usr/include/libxml2 -I/usr/include/libxml2  -O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o pgAdmin3.o `test -f './pgAdmin3.cpp' || echo './'`./pgAdmin3.cpp

No -g there.  See also the contents of the -debuginfo package - missing sources in it are a strong indication of -g not being used.


Note You need to log in before you can comment on or make changes to this bug.