Bug #325
closedUnable to compile SMP kernel without debug
0%
Description
I tried to compile kernel without debug and with SMP on 1.6.1 and got:
linking kernel.nodebugkern_spinlock.o(.text+0x28b): In function `exponential_backoff':
: undefined reference to `db_print_backtrace'
- Error code 1
- Error code 1
- Error code 1
Stop in /usr/src.
Kernel config here: www.kuliyev.com/TEST
Rauf
Files
Updated by elekktretterr over 18 years ago
Ive had the same problem on my server. I didnt report it, because in the
end I came to believe its good to have debugger in, in case something
funny happens.
Petr
Rauf Kuliyev wrote:
I tried to compile kernel without debug and with SMP on 1.6.1 and got:
linking kernel.nodebug
kern_spinlock.o(.text+0x28b): In function `exponential_backoff':
: undefined reference to `db_print_backtrace'Stop in /usr/obj/usr/src/sys/TEST.
- Error code 1
Stop in /usr/src.
- Error code 1
- Error code 1
Stop in /usr/src.
Kernel config here: www.kuliyev.com/TEST
Rauf
Updated by rauf over 18 years ago
I found the possible problem (looks like typo, but I can be wrong),
and patch is attached.
On 9/22/06, Petr Janda <elekktretterr@exemail.com.au> wrote:
Ive had the same problem on my server. I didnt report it, because in the
end I came to believe its good to have debugger in, in case something
funny happens.Petr
Rauf Kuliyev wrote:
I tried to compile kernel without debug and with SMP on 1.6.1 and got:
linking kernel.nodebug
kern_spinlock.o(.text+0x28b): In function `exponential_backoff':
: undefined reference to `db_print_backtrace'Stop in /usr/obj/usr/src/sys/TEST.
- Error code 1
Stop in /usr/src.
- Error code 1
- Error code 1
Stop in /usr/src.
Kernel config here: www.kuliyev.com/TEST
Rauf
Updated by dillon about 18 years ago
:I found the possible problem (looks like typo, but I can be wrong),
:and patch is attached.
That will almost do it, but you just put the ++bo->nsec inside the
conditional and it has to be outside the conditional.
I'll commit a fix in a moment.
-Matt