Ubuntu Arm Builds
There was an Ubuntu arm builds available previously. Anyone aware of where did they go and when we can have them back ?
Also generic linux-arm is missing
@gkhanna79
Our build system underwent some major changes recently. We are working on bringing back arm support in the next few days.
generic linux-arm is back. Do you use the same build @olegsavelos ?
Generic linux-arm did not work for me , not sure if it even should. @chcosta any news on when ubuntu builds will be back ?
@olegsavelos Where did you pickup the linux-arm build from and why didn't it work for you? Can you please share the failure details?
I have tried "Linux (arm) (for glibc based OS)" on ubuntu 16.04 (32bit) What i get is "cannot execute binary file: Exec format error" To be frank i am not sure if it should have worked anyway? I was using previously available builds and they worked but i was still getting "Segmentation fault" when trying ASPNetCore projects.
@olegsavelos I presume you are running on Ubuntu Arm32 bit, right?
@gkhanna79 Armv71 on Ubuntu 16.04.2 LTS .
We do build with armv7 HF ABI support (see https://github.com/dotnet/core-setup/blob/786a3f40a17b88eecbfb22e504dd37c607856ffa/cross/arm/toolchain.cmake#L10). What is the ABI of the binaries on the Ubuntu build? Does it use Soft ABI?
@hqueue @hseok-oh @jyoungyun incase they have anything to add as well.
its armhf in my case. This is the output from readelf on dotnet executable
root@opiz:/usr/src# readelf -h dotnet
ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
Entry point address: 0x40a30b
Start of program headers: 64 (bytes into file)
Start of section headers: 401840 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 9
Size of section headers: 64 (bytes)
Number of section headers: 39
Section header string table index: 36
I would expect it to be ELF32 or ELF64 should be able to work?
It should be ELF32 unless I am missing something.
Also, the following looks wrong as it is indicative of amd64 binary as opposed to arm32:
Type: EXEC (Executable file) Machine: Advanced Micro Devices X86-64
I will take a look at this.
@olegsavelos; we have been running generic linux-arm on Yocto. I will try again now that they are back. I havn't tried on ubuntu.
@JensNordenbro the previous builds was partially working for me too, it the new generic ones that fail.
Noting that the generic builds currently built are for armhf might be a good idea on the readme just in case people are confused. Also, are there any plans to provide builds for arm-softfp or are those of us that need it going to have to build it ourselves?
Noting that the generic builds currently built are for armhf might be a good idea on the readme just in case people are confused.
I also agree on this, because ABI is usually noted explicitly when distributing binaries for arm. Sometimes filename contains ABI information to help user to infer ABI from filename. For dotnet, full name of ABI might be gnueabihf for hardfp and gnueabi for softfp, because we are using GNU ABI for linux.
We do build with armv7 HF ABI support (see https://github.com/dotnet/core-setup/blob/786a3f40a17b88eecbfb22e504dd37c607856ffa/cross/arm/toolchain.cmake#L10). What is the ABI of the binaries on the Ubuntu build? Does it use Soft ABI?
@gkhanna79 Previously distributed ubuntu.14.04-arm and ubuntu.16.04-arm binaries are built in hardfp. No softfp binary has been appeared on the daily build page yet.
Same problem!
I will update the entry in the table to reflect ARMHF in my PR at https://github.com/dotnet/core-setup/pull/2350.
I have confirmed that the issue is now fixed. Please try https://dotnetcli.blob.core.windows.net/dotnet/master/Binaries/2.0.0-preview2-25311-09/dotnet-linux-arm.2.0.0-preview2-25311-09.tar.gz
@olegsavelos @JensNordenbro Can you use the URL above and confirm it works for you?