[Pidgin] #13879: Add gcc and linker hardening options to configure.ac
Pidgin
trac at pidgin.im
Wed Jun 22 03:38:38 EDT 2011
#13879: Add gcc and linker hardening options to configure.ac
-------------------------+--------------------------------------------------
Reporter: ioerror | Owner: rekkanoryo
Type: enhancement | Status: new
Milestone: | Component: unclassified
Version: 2.7.11 | Resolution:
Keywords: security |
-------------------------+--------------------------------------------------
Comment(by ioerror):
Ok, I wanted to attach a compile log that includes all of the perl plugin
errors but it was 9MB.
Here's a sample:
{{{
cc -shared -O2 -g -L/usr/local/lib -fstack-protector Account.o
AccountOpts.o BuddyIcon.o BuddyList.o Certificate.o Cipher.o Cmds.o
Connection.o Conversation.o Core.o Debug.o FT.o Idle.o ImgStore.o Log.o
Network.o Notify.o Plugin.o PluginPref.o Pounce.o Prefs.o Privacy.o
Proxy.o Prpl.o Purple.o Request.o Roomlist.o SSLConn.o SavedStatuses.o
Server.o Signal.o Smiley.o Sound.o Status.o Stringref.o Util.o
Whiteboard.o XMLNode.o -pie -fPIC -z relro -z now -o
blib/arch/auto/Purple/Purple.so \
\
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 0 has
invalid symbol index 11
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 1 has
invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 2 has
invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 3 has
invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 4 has
invalid symbol index 11
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 5 has
invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 6 has
invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 7 has
invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 8 has
invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 9 has
invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 10
has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 11
has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 12
has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 13
has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 14
has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 15
has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 16
has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 17
has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 18
has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 19
has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug/usr/lib/Scrt1.o(.debug_info): relocation 20
has invalid symbol index 21
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/Scrt1.o: In function
`_start':
(.text+0x20): undefined reference to `main'
Account.o: In function `boot_Purple__Account':
/tmp/pidgin-2.8.0/libpurple/plugins/perl/common/Account.c:1261: undefined
reference to `Perl_Gthr_key_ptr'
/tmp/pidgin-2.8.0/libpurple/plugins/perl/common/Account.c:1261: undefined
reference to `pthread_getspecific'
}}}
And more like this:
{{{
Account.o: In function `XS_Purple__Account_add_buddies':
/tmp/pidgin-2.8.0/libpurple/plugins/perl/common/Account.c:927: undefined
reference to `Perl_Gthr_key_ptr'
/tmp/pidgin-2.8.0/libpurple/plugins/perl/common/Account.c:927: undefined
reference to `pthread_getspecific'
/tmp/pidgin-2.8.0/libpurple/plugins/perl/common/Account.c:927: undefined
reference to `Perl_Istack_sp_ptr'
/tmp/pidgin-2.8.0/libpurple/plugins/perl/common/Account.c:907: undefined
reference to `Perl_Gthr_key_ptr'
/tmp/pidgin-2.8.0/libpurple/plugins/perl/common/Account.c:907: undefined
reference to `pthread_getspecific'
}}}
--
Ticket URL: <http://developer.pidgin.im/ticket/13879#comment:4>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list