sandbox: barebox executable for x86_64 is nonfunctional

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Jul 2 09:48:38 EDT 2020



On 7/2/20 1:35 PM, Peter Mamonov wrote:
> Hello, Ahmad,
> 
> After 54d47eb7e "sandbox: support forcing 32-bit x86" the sandbox barebox 
> executable produced on x86_64 host is nonfunctional, i.e. it exits right after 
> start. Reverting the mentioned commit does fix the problem.  The host is 
> running a bit outdated Debian bullseye/sid, gcc version is "gcc (Debian 9.2.1-19) 9.2.1 
> 20191109". Here are the commands I've used to build and run barebox:
> 
> 	$ export ARCH=sandbox
> 	$ make mrproper && make sandbox_defconfig && make -j4 -s
> 	$ ./barebox
> 	$ echo $?
> 	1

You're right. Apparently I did some last minute fix and only retested that COMPILE_TESTing
works, not that it can actually be started... Luckily there is no release with this
patch yet. I just sent a fix out.

Thanks for the the report,
Ahmad

> 
> Regards,
> Peter
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list