Wrong architecture of openblas in ARMv6

Problems with packages? Post here, using [tags] of the package name.

Wrong architecture of openblas in ARMv6

Postby RonisBR » Tue Jun 16, 2020 4:44 pm

I installed openblas in ARMv6 (Raspberry Pi Zero W), and the following library is installed:

$this->bbcode_second_pass_code('', '-rwxr-xr-x 1 root root 2197288 Mar 9 13:23 libopenblas_armv7p-r0.3.9.so')

Checking the architecture, it is really an ARMv7 instead of ARMv6 library:

$this->bbcode_second_pass_code('', '[root@5bf805c78240 lib]# objdump -f libopenblas_armv7p-r0.3.9.so

libopenblas_armv7p-r0.3.9.so: file format elf32-littlearm
architecture: armv7, flags 0x00000150:
HAS_SYMS, DYNAMIC, D_PAGED
start address 0x00015720')
RonisBR
 
Posts: 4
Joined: Mon Jun 15, 2020 6:27 pm

Re: Wrong architecture of openblas in ARMv6

Postby RonisBR » Wed Jun 17, 2020 7:14 pm

It turns out that openBLAS must have the option `TARGET=ARMV6` to compile against ARMV6. I tested here, and it works correctly after passing this option when compiling openBLAS.
RonisBR
 
Posts: 4
Joined: Mon Jun 15, 2020 6:27 pm


Return to Packages

Who is online

Users browsing this forum: Google [Bot] and 15 guests