https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082006-09-22T09:04:01ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #325: Unable to compile SMP kernel without debughttps://bugs.dragonflybsd.org/issues/325?journal_id=12772006-09-22T09:04:01Zelekktretterr
<ul></ul><p>Ive had the same problem on my server. I didnt report it, because in the <br />end I came to believe its good to have debugger in, in case something <br />funny happens.</p>
<p>Petr</p>
<p>Rauf Kuliyev wrote:</p>
<blockquote>
<p>I tried to compile kernel without debug and with SMP on 1.6.1 and got:</p>
linking kernel.nodebug<br />kern_spinlock.o(.text+0x28b): In function `exponential_backoff':<br />: undefined reference to `db_print_backtrace'
<ul>
<li>Error code 1</li>
</ul>
Stop in /usr/obj/usr/src/sys/TEST.
<ul>
<li>Error code 1</li>
</ul>
Stop in /usr/src.
<ul>
<li>Error code 1</li>
</ul>
<p>Stop in /usr/src.</p>
<p>Kernel config here: <a class="external" href="http://www.kuliyev.com/TEST">www.kuliyev.com/TEST</a></p>
<p>Rauf</p>
</blockquote> DragonFlyBSD - Bug #325: Unable to compile SMP kernel without debughttps://bugs.dragonflybsd.org/issues/325?journal_id=12782006-09-22T09:51:00Zrauf
<ul></ul><p>I found the possible problem (looks like typo, but I can be wrong),<br />and patch is attached.</p>
<p>On 9/22/06, Petr Janda <<a class="email" href="mailto:elekktretterr@exemail.com.au">elekktretterr@exemail.com.au</a>> wrote:</p>
<blockquote>
<p>Ive had the same problem on my server. I didnt report it, because in the<br />end I came to believe its good to have debugger in, in case something<br />funny happens.</p>
<p>Petr</p>
<p>Rauf Kuliyev wrote:</p>
<blockquote>
<p>I tried to compile kernel without debug and with SMP on 1.6.1 and got:</p>
linking kernel.nodebug<br />kern_spinlock.o(.text+0x28b): In function `exponential_backoff':<br />: undefined reference to `db_print_backtrace'
<ul>
<li>Error code 1</li>
</ul>
Stop in /usr/obj/usr/src/sys/TEST.
<ul>
<li>Error code 1</li>
</ul>
Stop in /usr/src.
<ul>
<li>Error code 1</li>
</ul>
<p>Stop in /usr/src.</p>
<p>Kernel config here: <a class="external" href="http://www.kuliyev.com/TEST">www.kuliyev.com/TEST</a></p>
<p>Rauf</p>
</blockquote>
</blockquote> DragonFlyBSD - Bug #325: Unable to compile SMP kernel without debughttps://bugs.dragonflybsd.org/issues/325?journal_id=12802006-09-22T23:30:01Zdillon
<ul></ul><p>:I found the possible problem (looks like typo, but I can be wrong),<br />:and patch is attached.</p>
<pre><code>That will almost do it, but you just put the ++bo->nsec inside the<br /> conditional and it has to be outside the conditional.</code></pre>
<pre><code>I'll commit a fix in a moment.</code></pre>
<pre><code>-Matt</code></pre>