<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">ср, 11 июл. 2018 г., 16:35 Nikolai Kostrigin <<a href="mailto:nickel@basealt.ru">nickel@basealt.ru</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Здравствуйте!
<p>Уважаемые коллеги, подскажите, как можно поступить в следующей
ситуации:</p></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Использовать cross-gcc. Посмотрите как собираются edk2 и ipxe.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">
<p>1. для реализации поддержки загрузки на ноутбуках с 32-х битным
EFI при 64-х битном процессоре собирается пакет elilo содержащий
обе версии бинарника<br>
</p>
<div class="m_2230842098814953722moz-forward-container">2. на локальной сборочнице пакет
успешно собирается при наличии зависимости на i586-gcc7<br>
3. при отсутствии вышеуказанной зависимости выдает :<br>
<br>
make[1]: Leaving directory
'/usr/src/RPM/BUILD/ia32_build/elilo/tools'<br>
make[1]: Entering directory
'/usr/src/RPM/BUILD/ia32_build/elilo/tools'<br>
/usr/bin/gcc -pipe -frecord-gcc-switches -Wall -g -O2 -m32 -Wall
-c eliloalt.c -o eliloalt.o<br>
/usr/bin/gcc -o eliloalt -pipe -frecord-gcc-switches -Wall -g -O2
-m32 -Wall eliloalt.o<br>
<b>/usr/bin/ld: skipping incompatible
/usr/lib64/gcc/x86_64-alt-linux/7/libgcc.a when searching for
-lgcc</b><br>
/usr/bin/ld: cannot find -lgcc<br>
/usr/bin/ld: skipping incompatible
/usr/lib64/gcc/x86_64-alt-linux/7/libgcc.a when searching for
-lgcc<br>
<b>/usr/bin/ld: cannot find -lgcc</b><br>
collect2: error: ld returned 1 exit status<br>
make[1]: *** [../tools/Makefile:48: eliloalt] Error 1<br>
make[1]: Leaving directory
'/usr/src/RPM/BUILD/ia32_build/elilo/tools'<br>
make: *** [Makefile:95: tools] Error 2<br>
make: Leaving directory '/usr/src/RPM/BUILD/ia32_build/elilo'<br>
error: Bad exit status from /usr/src/tmp/rpm-tmp.95233 (%build)<br>
<br>
4. в то же время сборочница не имеет доступа к пакету i586-gcc7.<br>
<br>
-------- Forwarded Message --------
<table class="m_2230842098814953722moz-email-headers-table" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap>Subject:
</th>
<td>[#208786] FAILED elilo.git=3.16-alt2</td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap>Date: </th>
<td>Thu, 21 Jun 2018 12:02:44 +0000</td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap>From: </th>
<td>Girar Builder awaiter robot
<a class="m_2230842098814953722moz-txt-link-rfc2396E" href="mailto:girar-builder@altlinux.org" target="_blank" rel="noreferrer"><girar-builder@altlinux.org></a></td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap>Reply-To:
</th>
<td><a class="m_2230842098814953722moz-txt-link-abbreviated" href="mailto:nickel@altlinux.org" target="_blank" rel="noreferrer">nickel@altlinux.org</a></td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap>To: </th>
<td>Nikolai Kostrigin <a class="m_2230842098814953722moz-txt-link-rfc2396E" href="mailto:nickel@altlinux.org" target="_blank" rel="noreferrer"><nickel@altlinux.org></a></td>
</tr>
<tr>
<th valign="BASELINE" align="RIGHT" nowrap>CC: </th>
<td><a class="m_2230842098814953722moz-txt-link-abbreviated" href="mailto:sisyphus-incominger@lists.altlinux.org" target="_blank" rel="noreferrer">sisyphus-incominger@lists.altlinux.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre><a class="m_2230842098814953722moz-txt-link-freetext" href="http://git.altlinux.org/tasks/208786/logs/events.1.1.log" target="_blank" rel="noreferrer">http://git.altlinux.org/tasks/208786/logs/events.1.1.log</a>
2018-Jun-21 12:01:53 :: test-only task #208786 for sisyphus started by nickel:
#100 build 3.16-alt2 from /people/nickel/packages/elilo.git fetched at 2018-Jun-21 12:01:53
2018-Jun-21 12:01:54 :: [i586] #100 elilo.git 3.16-alt2: build start
2018-Jun-21 12:01:54 :: [aarch64] #100 elilo.git 3.16-alt2: build start
2018-Jun-21 12:01:54 :: [x86_64] #100 elilo.git 3.16-alt2: build start
2018-Jun-21 12:02:11 :: [i586] #100 elilo.git 3.16-alt2: build SKIPPED
<13>Jun 21 12:02:11 rpmi: libnspr-1:4.19-alt1 1521589045 installed
<13>Jun 21 12:02:11 rpmi: libsqlite3-3.22.0-alt1 1522028627 installed
<13>Jun 21 12:02:11 rpmi: libnss-3.36.4-alt1 1528628812 installed
<86>Jun 21 12:02:11 groupadd[21450]: group added to /etc/group: name=pesign, GID=499
<86>Jun 21 12:02:11 groupadd[21450]: group added to /etc/gshadow: name=pesign
<86>Jun 21 12:02:11 groupadd[21450]: new group: name=pesign, GID=499
<86>Jun 21 12:02:11 useradd[21455]: new user: name=pesign, UID=499, GID=499, home=/var/empty, shell=/dev/null
<13>Jun 21 12:02:11 rpmi: pesign-0.109-alt5 1497440975 installed
<13>Jun 21 12:02:11 rpmi: rpm-macros-uefi-0.5-alt1 1387289833 installed
Reading Package Lists...
Building Dependency Tree...
rpm-macros-uefi is already the newest version.
Version pesign#0.109-alt5 for pesign>=0.109-alt4 is already installed
pesign is already the newest version.
<b>E: Couldn't find package i586-gcc7</b>
hsh-install: Failed to calculate package file list.
hsh-install: Failed to generate package file list.
2018-Jun-21 12:02:13 :: [x86_64] elilo.git 3.16-alt2: remote: cannot build src.rpm
2018-Jun-21 12:02:13 :: [x86_64] #100 elilo.git 3.16-alt2: build FAILED
2018-Jun-21 12:02:44 :: [aarch64] #100 elilo.git 3.16-alt2: build SKIPPED
2018-Jun-21 12:02:13 :: [x86_64] build FAILED
2018-Jun-21 12:02:44 :: task #208786 for sisyphus FAILED
</pre>
</div>
</div>
_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.altlinux.org" target="_blank" rel="noreferrer">Devel@lists.altlinux.org</a><br>
<a href="https://lists.altlinux.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">https://lists.altlinux.org/mailman/listinfo/devel</a></blockquote></div></div></div>