On Tue, Jun 22, 2010 at 04:39:17PM -0400, Ryan Stone wrote:
> I saw similar behaviour a couple of years ago when I switched from
> using gcc 4.0.2 to gcc 4.3.0 to compile some out-of-tree KLD modules.
> The problem ended up being a change in the linker script used by GNU
> ld for linking kernel mod
I saw similar behaviour a couple of years ago when I switched from
using gcc 4.0.2 to gcc 4.3.0 to compile some out-of-tree KLD modules.
The problem ended up being a change in the linker script used by GNU
ld for linking kernel modules. It used to always put some magic
symbols used by the linker t
On Wednesday 31 March 2010 14:52:53 Giorgos Keramidas wrote:
> On Tue, 30 Mar 2010 15:10:58 -0400, John Baldwin wrote:
> > On Tuesday 30 March 2010 11:48:58 am Giorgos Keramidas wrote:
> >> +.It Va DEBUG_FLAGS
> >> +Defines a set of debugging flags that will be used to build all
> >> userland +bin
On Tue, 30 Mar 2010 15:10:58 -0400, John Baldwin wrote:
> On Tuesday 30 March 2010 11:48:58 am Giorgos Keramidas wrote:
>> +.It Va DEBUG_FLAGS
>> +Defines a set of debugging flags that will be used to build all userland
>> +binaries under
>> +.Pa /usr/src .
>> +When
>> +.Va DEBUG_FLAGS
>> +is defi
On Tuesday 30 March 2010 11:48:58 am Giorgos Keramidas wrote:
> On Fri, 05 Mar 2010 18:15:33 +0100 (CET), Alexander Best
wrote:
> >> DEBUG_FLAGS=-g
> >
> > ahh. thanks for the hint. with DEBUG_FLAGS i was able to build world with
> > debugging symbols but also managed to keep the bootloader small
On Fri, 05 Mar 2010 18:15:33 +0100 (CET), Alexander Best
wrote:
>> DEBUG_FLAGS=-g
>
> ahh. thanks for the hint. with DEBUG_FLAGS i was able to build world with
> debugging symbols but also managed to keep the bootloader small enough.
>
> i don't think this option is documented anywhere or is it?
Bruce Cran schrieb am 2010-03-05:
> On Friday 05 March 2010 05:28:39 Alexander Best wrote:
> > any suggestions on how to successfully build world with debugging
> > symbols
> > are welcome.
> Use DEBUG_FLAGS instead:
> DEBUG_FLAGS=-g
ahh. thanks for the hint. with DEBUG_FLAGS i was able to bui
On Friday 05 March 2010 05:28:39 Alexander Best wrote:
> any suggestions on how to successfully build world with debugging symbols
> are welcome.
Use DEBUG_FLAGS instead:
DEBUG_FLAGS=-g
The build system knows not to strip the binaries when that's defined, too.
--
Bruce Cran
_
hi there,
because i'm doing a lot of debugging lately i thought it might be a good idea
to build world (in addition to the kernel) with debugging symbols. what i've
done is add
CFLAGS+= -O2 -fno-strict-aliasing -pipe -g
to /etc/src.conf, because having -g in CFLAGS in /etc/make.conf would also
b
9 matches
Mail list logo