ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] android-tools, fastboot, 32bit arch support (i586, armh)
@ 2020-12-13 20:33 Pavel Nakonechnyi
  2020-12-14  0:03 ` Vitaly Lipatov
  2020-12-14 19:12 ` Dmitry V. Levin
  0 siblings, 2 replies; 4+ messages in thread
From: Pavel Nakonechnyi @ 2020-12-13 20:33 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Привет!

У меня есть рабочая сборка android-tools на основе Android
10.0.0.Проблема в том, что fastboot утилита (нужна для модификации
загрузчиков устройств) неподдерживает теперь 32х битные архитектуры.

В Debian её пока даже собрать не смогли вообще и выпилили. Я могу
просто поставить "ExcludeArch: ppc64le i586 armh" (ppc64le по другой
причине). Есть вероятность что кому-то может понадобиться fastboot на
обозначенных архитектурах?

Починить я не смогу сам. Текущая версия старовата и не собирается с новым GCC.


--
 WBR,
 Pavel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] android-tools, fastboot, 32bit arch support (i586, armh)
  2020-12-13 20:33 [devel] android-tools, fastboot, 32bit arch support (i586, armh) Pavel Nakonechnyi
@ 2020-12-14  0:03 ` Vitaly Lipatov
  2020-12-14 19:12 ` Dmitry V. Levin
  1 sibling, 0 replies; 4+ messages in thread
From: Vitaly Lipatov @ 2020-12-14  0:03 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Pavel Nakonechnyi писал 13.12.20 23:33:
> Привет!
> 
> У меня есть рабочая сборка android-tools на основе Android
> 10.0.0.Проблема в том, что fastboot утилита (нужна для модификации
> загрузчиков устройств) неподдерживает теперь 32х битные архитектуры.
> 
> В Debian её пока даже собрать не смогли вообще и выпилили. Я могу
> просто поставить "ExcludeArch: ppc64le i586 armh" (ppc64le по другой
> причине). Есть вероятность что кому-то может понадобиться fastboot на
> обозначенных архитектурах?
> 
> Починить я не смогу сам. Текущая версия старовата и не собирается с 
> новым GCC.
Я считаю, что надо выключить сборку для i586. Если кто-то захочет её 
починить, он это сделает. Но никакого смысла заниматься разработкой на 
неподдерживаемых 32-битных системах вроде бы нет.

-- 
С уважением,
Виталий Липатов,
ALT Linux Team


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] android-tools, fastboot, 32bit arch support (i586, armh)
  2020-12-13 20:33 [devel] android-tools, fastboot, 32bit arch support (i586, armh) Pavel Nakonechnyi
  2020-12-14  0:03 ` Vitaly Lipatov
@ 2020-12-14 19:12 ` Dmitry V. Levin
  2020-12-15 18:15   ` Pavel Nakonechnyi
  1 sibling, 1 reply; 4+ messages in thread
From: Dmitry V. Levin @ 2020-12-14 19:12 UTC (permalink / raw)
  To: ALT Devel discussion list

On Mon, Dec 14, 2020 at 06:41:49PM +0000, Girar awaiter (zorg) wrote:
> http://git.altlinux.org/tasks/263406/logs/events.4.1.log
> 
> subtask  name           aarch64    armh    i586  ppc64le  x86_64
>    #400  android-tools     5:09  failed  failed   failed    3:58
[...]
> [i586] fs_mgr/liblp/utility.cpp: In function 'int64_t android::fs_mgr::SeekFile64(int, int64_t, int)':
> [i586] fs_mgr/liblp/utility.cpp:65:33: error: static assertion failed: Need 64-bit lseek
> [i586]    65 |     static_assert(sizeof(off_t) == sizeof(int64_t), "Need 64-bit lseek");
> 2020-Dec-14 18:39:39 :: [i586] android-tools.git 10.0.0-alt1.r36: remote: build failed
> 2020-Dec-14 18:39:39 :: [i586] #400 android-tools.git 10.0.0-alt1.r36: build FAILED
> [armh] fs_mgr/liblp/utility.cpp: In function 'int64_t android::fs_mgr::SeekFile64(int, int64_t, int)':
> [armh] fs_mgr/liblp/utility.cpp:65:33: error: static assertion failed: Need 64-bit lseek
> [armh]    65 |     static_assert(sizeof(off_t) == sizeof(int64_t), "Need 64-bit lseek");
> 2020-Dec-14 18:41:48 :: [armh] android-tools.git 10.0.0-alt1.r36: remote: build failed
> 2020-Dec-14 18:41:48 :: [armh] #400 android-tools.git 10.0.0-alt1.r36: build FAILED

Попробуйте добавить $(getconf LFS_CFLAGS) в CPPFLAGS или в (CFLAGS и CXXFLAGS).


-- 
ldv


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [devel] android-tools, fastboot, 32bit arch support (i586, armh)
  2020-12-14 19:12 ` Dmitry V. Levin
@ 2020-12-15 18:15   ` Pavel Nakonechnyi
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Nakonechnyi @ 2020-12-15 18:15 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Mon, 14 Dec 2020 at 20:12, Dmitry V. Levin <ldv@altlinux.org> wrote:
>
> On Mon, Dec 14, 2020 at 06:41:49PM +0000, Girar awaiter (zorg) wrote:
> > http://git.altlinux.org/tasks/263406/logs/events.4.1.log
> >
> > subtask  name           aarch64    armh    i586  ppc64le  x86_64
> >    #400  android-tools     5:09  failed  failed   failed    3:58
> [...]
> > [i586] fs_mgr/liblp/utility.cpp: In function 'int64_t android::fs_mgr::SeekFile64(int, int64_t, int)':
> > [i586] fs_mgr/liblp/utility.cpp:65:33: error: static assertion failed: Need 64-bit lseek
> > [i586]    65 |     static_assert(sizeof(off_t) == sizeof(int64_t), "Need 64-bit lseek");
> > 2020-Dec-14 18:39:39 :: [i586] android-tools.git 10.0.0-alt1.r36: remote: build failed
> > 2020-Dec-14 18:39:39 :: [i586] #400 android-tools.git 10.0.0-alt1.r36: build FAILED
> > [armh] fs_mgr/liblp/utility.cpp: In function 'int64_t android::fs_mgr::SeekFile64(int, int64_t, int)':
> > [armh] fs_mgr/liblp/utility.cpp:65:33: error: static assertion failed: Need 64-bit lseek
> > [armh]    65 |     static_assert(sizeof(off_t) == sizeof(int64_t), "Need 64-bit lseek");
> > 2020-Dec-14 18:41:48 :: [armh] android-tools.git 10.0.0-alt1.r36: remote: build failed
> > 2020-Dec-14 18:41:48 :: [armh] #400 android-tools.git 10.0.0-alt1.r36: build FAILED
>
> Попробуйте добавить $(getconf LFS_CFLAGS) в CPPFLAGS или в (CFLAGS и CXXFLAGS).
>

Спасибо! Это действительно чинит сборку. Осталось мне с ppc64le разобраться...


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-15 18:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-13 20:33 [devel] android-tools, fastboot, 32bit arch support (i586, armh) Pavel Nakonechnyi
2020-12-14  0:03 ` Vitaly Lipatov
2020-12-14 19:12 ` Dmitry V. Levin
2020-12-15 18:15   ` Pavel Nakonechnyi

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