From: Alexey Tourbin <at@altlinux.ru> 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 10:30:00 +0400 Message-ID: <20050629063000.GU31585@solemn.turbinal.org> (raw) In-Reply-To: <20050629060916.GA21492@basalt.office.altlinux.org> [-- Attachment #1: Type: text/plain, Size: 1529 bytes --] On Wed, Jun 29, 2005 at 10:09:16AM +0400, Anton D. Kachalov wrote: > On Wed, Jun 29, 2005 at 09:40:22AM +0400, Anton Farygin wrote: > > Отрывать патч, естественно. > Ничего естественного. Фиксить надо, а не отрывать. > Кстати, фиксил я lua5-5.x.x, а не lua5-posix-... И тот и другой теперь не работают. lua5-posix демонстрирует segfault во время теста при сборке. Я первый раз этому большого значения не придал, а когда появилось "rebuild failed [1]", стало ясно, что что-то не так. Я ещё иногда использую lua в качестве кальукулятора, и сегодня при перемножении двух чисел получил segfault. Тут-то я и всполошился. :) > > Это похоже последствия портирования на x86_64 ;-) > > Это кривая lua. Вот из-за чего взялся этот патч (для lua5-5.0.2): > ltable.c: In function `luaH_mainposition': > ltable.c:108: warning: cast from pointer to integer of different size > ltable.c:110: warning: cast from pointer to integer of different size > > Это из-за функции IntPoint (llimits.h): > /* > ** conversion of pointer to integer > ** this is for hashing only; there is no problem if the integer > ** cannot hold the whole pointer value > */ > #define IntPoint(p) ((lu_hash)(p)) > > А ещё <stdint.h>: > #if __WORDSIZE == 64 > typedef long int intptr_t; > typedef unsigned long int uintptr_t; > #else > typedef int intptr_t; > typedef unsigned int uintptr_t; > #endif > > Есть предложение заменить intptr_t на uintptr_t. Сейчас попробую. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-06-29 6:30 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 2005-06-29 5:59 ` Alexey Tourbin 2005-06-29 6:09 ` Anton D. Kachalov 2005-06-29 6:30 ` Alexey Tourbin [this message] 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=20050629063000.GU31585@solemn.turbinal.org \ --to=at@altlinux.ru \ --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