From: Anton Farygin <rider@altlinux.com>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] Re: lua5-posix-2003.11.07-alt2: rebuild failed [1]
Date: Wed, 29 Jun 2005 09:40:22 +0400
Message-ID: <pan.2005.06.29.05.40.21.508738@altlinux.com> (raw)
In-Reply-To: <20050629030020.GQ31585@solemn.turbinal.org>
В письме Wed, 29 Jun 2005 07:00:21 +0400, Alexey Tourbin
написал:
> On Tue, Jun 28, 2005 at 03:48:25PM +0400, QA Team Robot wrote:
>> + gcc -shared -pipe -Wall -O2 -march=i586 -mcpu=i686 -fPIC -DPIC lposix.c -o posix.so -llua -llualib
>> + lua5 -e 'assert(loadlib("./posix.so", "luaopen_posix"))(); assert(posix)' test.lua
>> /usr/src/tmp/rpm-tmp.93540: line 96: 10053 Segmentation fault lua5 -e 'assert(loadlib("./posix.so", "luaopen_posix"))(); assert(posix)' test.lua
>
> lua сломана.
>
> $ lua -e 'print(2*0.1+5)'
> zsh: segmentation fault lua -e 'print(2*0.1+5)'
> $
>
> Из-за безобидного патча, который сделал mouse (#6539).
> lua-5.0.2-alt-lu_hash-intptr.patch
>
> --- lua-5.0.2/src/llimits.h.orig 2003-02-20 22:33:23 +0300
> +++ lua-5.0.2/src/llimits.h 2004-08-30 23:12:06 +0400
> @@ -11,6 +11,7 @@
> #include <limits.h>
> #include <stddef.h>
>
> +#include <stdint.h>
>
> #include "lua.h"
>
> @@ -41,7 +42,7 @@
> */
>
> /* an unsigned integer to hold hash values */
> -typedef unsigned int lu_hash;
> +typedef intptr_t lu_hash;
> /* its signed equivalent */
> typedef int ls_hash;
>
> Если пересобрать без этого патча, то всё работает.
> Что-то прямо не знаю, что теперь делать.
Отрывать патч, естественно.
Это похоже последствия портирования на x86_64 ;-)
Rgds,
Rider
next prev parent reply other threads:[~2005-06-29 5:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-29 3:00 ` Alexey Tourbin
2005-06-29 5:40 ` Anton Farygin [this message]
2005-06-29 5:59 ` Alexey Tourbin
2005-06-29 6:09 ` Anton D. Kachalov
2005-06-29 6:30 ` Alexey Tourbin
2005-06-29 8:09 ` Alexey Tourbin
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=pan.2005.06.29.05.40.21.508738@altlinux.com \
--to=rider@altlinux.com \
--cc=devel@altlinux.ru \
/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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git