From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Странная ошибка при сборке на i586
Date: Fri, 3 Feb 2017 14:05:45 +0300
Message-ID: <20170203110545.GF9009@glebfm.cloud.tilaa.com> (raw)
In-Reply-To: <2eaa38d8-4d63-f3e9-b39a-1fa26c8bf7b4@ya.ru>
[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]
On Fri, Feb 03, 2017 at 03:49:17PM +0700, Антон Мидюков wrote:
> При сборке linuxcnc на i586 возникает странная ошибка:
> Linking ../rtlib/clarke2.so
> `__x86.get_pc_thunk.dx' referenced in section `.text' of
> objects/clarke2.tmp: defined in discarded section
> `.text.__x86.get_pc_thunk.dx[__x86.get_pc_thunk.dx]' of objects/clarke2.tmp
> http://git.altlinux.org/tasks/177559/build/40/i586/log
Наверное, вот тут:
http://git.altlinux.org/people/antohami/packages/linuxcnc.git?p=linuxcnc.git;a=blob;f=src/Makefile.modinc.in;h=5ee051cf0f8f5438f12af778084c56bab80bcd50;hb=383fb038551de80b59d1bbef000f840aef49cccd#l123
нужно сказать objcopy копировать ещё и __x86.get_pc_thunk.dx .
См. также https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59842#c4 .
Последний абзац стоит показать апстриму. objcopy -- довольно интересный
способ решения этой задачи.
--
glebfm
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
next prev parent reply other threads:[~2017-02-03 11:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-03 8:49 Антон Мидюков
2017-02-03 11:05 ` Gleb Fotengauer-Malinovskiy [this message]
2017-02-03 11:20 ` Антон Мидюков
2017-02-03 13:15 ` Антон Мидюков
2017-02-03 13:44 ` Gleb Fotengauer-Malinovskiy
2017-02-04 1:46 ` Антон Мидюков
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=20170203110545.GF9009@glebfm.cloud.tilaa.com \
--to=glebfm@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