From: Ewald Wasscher <ewald.wasscher@pobox.com>
To: linux-assembly <linux-assembly@vger.kernel.org>
Subject: Re: Problem building httpd
Date: Sat, 17 Aug 2002 19:59:41 +0200 [thread overview]
Message-ID: <3D5E8F0D.6030904@pobox.com> (raw)
In-Reply-To: B0309172403@yoda.dccnet.com
Robin Miyagi wrote:
>On Saturday 17 August 2002 09:48, Ewald Wasscher wrote:
>
>
>>Hello all,
>>
>>I just anxiosly tried to build httpd from the new 0.17 release with cgi
>>support enabled. Unfortunately it fails:
>>
>>bash-2.05a$ make httpd
>>nasm -w+orphan-labels -w+macro-params -i../inc/ -f bin -D__LINUX__
>>-D__KERNEL__=24 -D__SYSCALL__=__S_KERNEL__ -D__OPTIMIZE__=__O_SIZE__
>>-D__ELF__ -D__ELF_MACROS__ httpd.asm
>>httpd.asm:282: short jump is out of range
>>make: *** [httpd] Error 1
>>
>>As I know next to nothing about assembler I wonder how one should fix
>>that (replace jb with jmp?)
>>
>>Ewald Wasscher
>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-assembly"
>>in the body of a message to majordomo@vger.kernel.org
>>More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>>
>
>For which assembler was this source code written for.
>
For nasm 0.98.
>
>The problem here is that the jump is more than 128 before, or 127
after the
>current instruction pointer (the jump displacement is represented by a
signed
>one byte integer -- -128 to 127). This should be replaced by a long
jump,
>which uses the machine integer/pointer size (4 bytes) to store the
>displacement.
>
Hah, I guessed so (I do remeber a little: I once bought a book on
assembler in the days that a 80286@12mhz was a very fast pc)
> Please send me a copy of the assembler source code.
>
>
>
You got it in private mail, it's httpd.asm from the asmutils 0.17 release.
Ewald
next prev parent reply other threads:[~2002-08-17 17:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-17 16:48 Problem building httpd Ewald Wasscher
[not found] ` <B0309172403@yoda.dccnet.com>
2002-08-17 17:59 ` Ewald Wasscher [this message]
2002-08-18 4:11 ` Konstantin Boldyshev
2002-08-31 8:42 ` Ewald Wasscher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D5E8F0D.6030904@pobox.com \
--to=ewald.wasscher@pobox.com \
--cc=linux-assembly@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.