devel@ where you _can_ ask
 help / color / mirror / Atom feed
From: Grigory Ustinov <grenka@altlinux.org>
To: devel-newbies@lists.altlinux.org
Subject: Re: [newbies] Не собираются не-х86 архитектуры
Date: Sun, 5 Dec 2021 00:42:35 +0300
Message-ID: <f274a0ab-acae-1cb4-4465-34fc9b33b5a3@basealt.ru> (raw)
In-Reply-To: <sogm5s$dmi$1@ciao.gmane.io>

05.12.2021 0:22, Alexei V. Mezin пишет:
> Захотелось собрать xfishtank
> https://www.ratrabbit.nl/ratrabbit/software/xfishtank/index.html
>
> Программа-то из 5 файлов по сути, Makefile и configure легко 
> пересоздаются autoreconf'ом, ничего в них экзотического не обнаружено. 
> Но я не программист, наверняка что-то упустил. В спеке все линейно
>
> %prep
> %setup
>
> %build
> %autoreconf
> %configure
> %make
>
> %install
> %makeinstall_std
>
> При этом сборочница в task#291405 за 30 секунд собирает x86, а на все 
> другие архитектуры отваливается с одинаковым диагнозом
>
> [i586] Verifying ELF objects in /usr/src/tmp/xfishtank-buildroot 
> (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
> [i586] ldd: ERROR: ./usr/games/xfishtank: program interpreter 
> /lib64/ld-linux-x86-64.so.2 not found
> [i586] verify-elf: ERROR: ./usr/games/xfishtank: ldd failed
>
> Откуда на всех архитектурах берется ld-linux-x86-64.so.2?
Почитайте файлик INSTALL. Там пишут всякое интересное про другие 
архитектуры. Кроме всего прочего вы можете на своей ЭВМ собирать 
пакетики для i586, если в ~/.hasher/sources.list поменяете архитектуру, 
а в опции сборки укажете --target=i586.

> Поставил в виртуалку i586, в ней autoreconf;configure;make проходит 
> без ошибок, полученный бинарник запускается.
>
> _______________________________________________
> devel-newbies mailing list
> devel-newbies@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel-newbies


  reply	other threads:[~2021-12-04 21:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-04 21:22 Alexei V. Mezin
2021-12-04 21:42 ` Grigory Ustinov [this message]
2021-12-04 23:16 ` Dmitry V. Levin
2021-12-05 10:18   ` Alexei Mezin

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=f274a0ab-acae-1cb4-4465-34fc9b33b5a3@basealt.ru \
    --to=grenka@altlinux.org \
    --cc=devel-newbies@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

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git