From: "Антон Мидюков" <midyukov-anton@ya.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Странная ошибка при сборке на i586
Date: Fri, 3 Feb 2017 20:15:08 +0700
Message-ID: <73bdc89f-05f7-ec2f-1b34-d4aecf1dfa85@ya.ru> (raw)
In-Reply-To: <da596f2b-f489-c6ce-4ece-f519b6a9e1a0@ya.ru>
03.02.2017 18:20, Антон Мидюков пишет:
> 03.02.2017 18:05, Gleb Fotengauer-Malinovskiy пишет:
>> 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 -- довольно интересный
>> способ решения этой задачи.
> Спасибо, Глеб, сейчас попробую.
>
Вставил в 123 строку src/Makefile.modinc.in
-G __x86.get_pc_thunk.dx
Выглядит теперь так
$(Q)if ! $(IS_POWERPC); then objcopy -G __x86.get_pc_thunk.bx -G
__i686.get_pc_thunk.bx -G __x86.get_pc_thunk.dx `xargs -r0n1 echo -G <
$*.exp | grep -ve '^-G $$' | sort -u` $*.tmp; fi
Ошибка та же. Я неправильно сделал или не помогло?
--
С уважением Антон Мидюков <antohami@altlinux.org>
next prev parent reply other threads:[~2017-02-03 13:15 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
2017-02-03 11:20 ` Антон Мидюков
2017-02-03 13:15 ` Антон Мидюков [this message]
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=73bdc89f-05f7-ec2f-1b34-d4aecf1dfa85@ya.ru \
--to=midyukov-anton@ya.ru \
--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