Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442326 - sys-firmware/sgabios-0.1_pre8 - Compile phase failure - ld: i386:x86-64 architecture of input file `sgabios.o' is incompatible with i386 output
Summary: sys-firmware/sgabios-0.1_pre8 - Compile phase failure - ld: i386:x86-64 archi...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo QEMU Project
Depends on:
Reported: 2012-11-08 09:09 UTC by Ghostshell
Modified: 2014-04-30 22:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

LC_ALL=C emerge -1 =sys-firmware/sgabios-0.1_pre8 (emerge_sgabios.txt,3.15 KB, text/plain)
2012-11-08 10:13 UTC, Ghostshell
emerge --info =sys-firmware/sgabios-0.1_pre8 (sgabios_emergeinfo.txt,6.87 KB, text/plain)
2012-11-08 10:15 UTC, Ghostshell

Note You need to log in before you can comment on or make changes to this bug.
Description Ghostshell 2012-11-08 09:09:05 UTC
>>> Emerging (1 of 10) sys-firmware/sgabios-0.1_pre8
 * sgabios-0.1_pre8.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                           [ ok ]
 * sgabios-0.1_pre8-bins.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking sgabios-0.1_pre8.tar.xz to /var/tmp/portage/sys-firmware/sgabios-0.1_pre8/work
>>> Unpacking sgabios-0.1_pre8-bins.tar.xz to /var/tmp/portage/sys-firmware/sgabios-0.1_pre8/work
>>> Source unpacked in /var/tmp/portage/sys-firmware/sgabios-0.1_pre8/work
>>> Preparing source in /var/tmp/portage/sys-firmware/sgabios-0.1_pre8/work/sgabios-0.1_pre8 ...
 * Applying sgabios-0.1_pre8-makefile.patch ...                                                                                                                           [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-firmware/sgabios-0.1_pre8/work/sgabios-0.1_pre8 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-firmware/sgabios-0.1_pre8/work/sgabios-0.1_pre8 ...
make -j3 
rm -f .depend
touch sgabios.S
cc -E -M -Wall -Os -m32 -nostdlib  sgabios.S >.tmpdepend && mv .tmpdepend .depend
cc -Wall -O2 -o csum8 csum8.c
csum8.c: In Funktion »main«:
csum8.c:60:8: Warnung: ignoring return value of »write«, declared with attribute warn_unused_result
cc -Wall -Os -m32 -nostdlib -DBUILD_DATE="\"Do 8. Nov 09:03:25 UTC 2012\"" -DBUILD_SHORT_DATE="\"11/08/12\"" -DBUILD_HOST="\"Ghostshell\"" -DBUILD_USER="\"root\""   -c -o sgabios.o sgabios.S
ld -T rom16.ld -nostdlib  sgabios.o -o sgabios.elf
ld: i386:x86-64 architecture of input file `sgabios.o' is incompatible with i386 output
make: *** [sgabios.elf] Fehler 1
 * ERROR: sys-firmware/sgabios-0.1_pre8 failed (compile phase):
 *   emake failed

Reproducible: Always
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-11-08 09:27:24 UTC
1) Please post the output of `emerge --info =sys-firmware/sgabios-0.1_pre8`
2) Please attach an English build log to this bug, to obtain it in english:

       LC_ALL=C emerge -1 =sys-firmware/sgabios-0.1_pre8
Comment 2 Ghostshell 2012-11-08 10:13:40 UTC
Created attachment 328778 [details]
LC_ALL=C emerge -1 =sys-firmware/sgabios-0.1_pre8
Comment 3 Ghostshell 2012-11-08 10:15:07 UTC
Created attachment 328780 [details]
emerge --info =sys-firmware/sgabios-0.1_pre8
Comment 4 SpanKY gentoo-dev 2014-04-30 22:08:27 UTC
this should be fixed in the latest ebuild rev.  please try again and re-open (with new build log) if it does not.