Re: relro and precompiled headers

2011-07-07 Thread Adam Jackson
On Thu, 2011-07-07 at 16:49 +0200, Jakub Jelinek wrote: > On Fri, Jul 01, 2011 at 02:15:08PM +0200, Dan Horák wrote: > > when I'm building Code::Block in rawhide I'm getting into troubles with > > the "relro" feature when combined with pre-compiled headers. > > > > with default flags I get: > > P

Re: relro and precompiled headers

2011-07-07 Thread Ralf Corsepius
On 07/07/2011 05:43 PM, Dan Horák wrote: > Jakub Jelinek píše v Čt 07. 07. 2011 v 16:49 +0200: >> On Fri, Jul 01, 2011 at 02:15:08PM +0200, Dan Horák wrote: >>> when I'm building Code::Block in rawhide I'm getting into troubles with >>> the "relro" feature when combined with pre-compiled headers. >

Re: relro and precompiled headers

2011-07-07 Thread Dan Horák
Jakub Jelinek píše v Čt 07. 07. 2011 v 16:49 +0200: > On Fri, Jul 01, 2011 at 02:15:08PM +0200, Dan Horák wrote: > > when I'm building Code::Block in rawhide I'm getting into troubles with > > the "relro" feature when combined with pre-compiled headers. > > > > with default flags I get: > > Putt

Re: relro and precompiled headers

2011-07-07 Thread Jakub Jelinek
On Fri, Jul 01, 2011 at 02:15:08PM +0200, Dan Horák wrote: > when I'm building Code::Block in rawhide I'm getting into troubles with > the "relro" feature when combined with pre-compiled headers. > > with default flags I get: Putting -Wl,-z,relro into CFLAGS or CXXFLAGS is a mistake, -Wl,-z,relro

Re: relro and precompiled headers

2011-07-07 Thread Adam Jackson
On Fri, 2011-07-01 at 14:15 +0200, Dan Horák wrote: > g++ -DHAVE_CONFIG_H -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__ > -pthread -I../../src/include -I../../src/sdk/wxscintilla/include > -I../../src/include/scripting/i

relro and precompiled headers

2011-07-01 Thread Dan Horák
Hello, when I'm building Code::Block in rawhide I'm getting into troubles with the "relro" feature when combined with pre-compiled headers. with default flags I get: ... g++ -DHAVE_CONFIG_H -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FIL