From: "Damir Shayhutdinov" <damir@altlinux.org> To: "ALT Devel discussion list" <devel@lists.altlinux.org> Subject: Re: [devel] +2 lost precision, +1 noarch issue (was: vim-4:7.0.182-alt1: i586 rebuild failed) Date: Tue, 23 Jan 2007 19:22:22 +0300 Message-ID: <679044850701230822t5bda50f6pedceaa0bd107f440@mail.gmail.com> (raw) In-Reply-To: <20070123161116.GB17012@osdn.org.ua> > Не понял, кто раздерибанил точность: > > --- Maelstrom-3.0.6-alt1: x86-64 rebuild failed > Making all in screenlib > make[1]: Entering directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/screenlib' > x86_64-alt-linux-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -pipe -Wall -O2 -pipe -Wall -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c -o SDL_FrameBuf.o SDL_FrameBuf.cpp > SDL_FrameBuf.cpp: In member function 'void FrameBuf::AddDirtyRect(SDL_Rect*)': > SDL_FrameBuf.cpp:851: error: cast from 'SDL_Rect*' to 'int' loses precision > SDL_FrameBuf.cpp:852: error: cast from 'SDL_Rect*' to 'int' loses precision > make[1]: *** [SDL_FrameBuf.o] Error 1 > make[1]: Leaving directory `/usr/src/RPM/BUILD/Maelstrom-3.0.6/screenlib' Можно поменять int на long, но шансы что оно не будет глючить не велики. > --- lavaps-2.7-alt2: x86-64 rebuild failed > process_model.cc:89: error: cast from 'process_model*' to 'int' loses precision > make[3]: *** [process_model.o] Error 1make[3]: Leaving directory `/usr/src/RPM/BUILD/lavaps-2.7/src' То же самое. > --- ruby-doc-extra-0.1-alt3: x86-64 rebuild failed > creating Makefile > make[1]: Entering directory > /usr/bin/ld: ../cdjukebox/libcdjukebox.a(cdjukebox.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC Статическая библиотека подлинковывается в динамическому разделяему объекту. На 32битах это даст text relocations, а на 64 битах просто валится. Можно собирать -fPIC добавленными к CFLAGS, если оторвать сборку не получается.
next prev parent reply other threads:[~2007-01-23 16:22 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-01-23 13:33 ` [devel] vim-4:7.0.182-alt1: i586 rebuild failed Alexey I. Froloff 2007-01-23 13:46 ` Dmitry V. Levin 2007-01-23 15:20 ` Alexey I. Froloff 2007-01-23 15:26 ` Dmitry V. Levin 2007-01-23 16:11 ` [devel] +2 lost precision, +1 noarch issue (was: vim-4:7.0.182-alt1: i586 rebuild failed) Michael Shigorin 2007-01-23 16:22 ` Damir Shayhutdinov [this message] 2007-01-23 17:34 ` [devel] vim-4:7.0.182-alt1: i586 rebuild failed Alexey I. Froloff 2007-01-23 15:27 ` Avramenko Andrew
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=679044850701230822t5bda50f6pedceaa0bd107f440@mail.gmail.com \ --to=damir@altlinux.org \ --cc=devel@lists.altlinux.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
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