configure doesn't recognize aarch64 #5

Closed
opened 5 years ago by Ray-V · 3 comments
Ray-V commented 5 years ago
Collaborator

When cross compiling for aarch64, ./configure doesn't recognize aarch64:

configure error:
checking host system type... Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized

Patching config.sub fixes this:

--- admin/config.sub
+++ admin/config.sub
@@ -234 +234 @@
-	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
+	| arc | aarch* | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \

For libart-lgpl:

--- config.sub
+++ config.sub
@@ -245 +245 @@
-	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
+	| arc | aarch* | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
When cross compiling for aarch64, ./configure doesn't recognize aarch64: > configure error: > checking host system type... Invalid configuration \`aarch64-linux-gnu': machine \`aarch64' not recognized Patching config.sub fixes this: ```diff --- admin/config.sub +++ admin/config.sub @@ -234 +234 @@ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | arc | aarch* | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ ``` For libart-lgpl: ```diff --- config.sub +++ config.sub @@ -245 +245 @@ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | arc | aarch* | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ ```
Owner

To build using automake, you should as one of the first steps to update config.sub, config.guess, libtool.m4.in and ltmain.sh in the admin directory using files from your system. Therefore, these files contained in the common git module for admin directory are not important and there is no reason to update them – basically they are always out of date.

To build using automake, you should as one of the first steps to update `config.sub`, `config.guess`, `libtool.m4.in` and `ltmain.sh` in the admin directory using files from your system. Therefore, these files contained in the common git module for admin directory are not important and there is no reason to update them – basically they are *always out of date*.
Owner

Although there is no response as described above, outdated files are not a bug. Therefore, I close this issue as resolved.

Although there is no response as described above, outdated files are not a bug. Therefore, I close this issue as resolved.
SlavekB closed this issue 4 years ago
SlavekB added this to the R14.0.9 release milestone 4 years ago
SlavekB added the ST/wontfix label 4 years ago
Owner

It is also worth mentioning that we are progressively migrating to cmake and removing admin/autotools, so this problem will sooner or later naturally disappear.

It is also worth mentioning that we are progressively migrating to cmake and removing admin/autotools, so this problem will sooner or later naturally disappear.
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tde-common-admin#5
Loading…
There is no content yet.