Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Troubles with AARCH64 compiler or?

Featured Replies

I was adding a driver to mvebu64-default and when this patch is removed, compilations breaks this way:
 

Spoiler

drivers/net/wireless/rtl8814au/core/rtw_mp.c: In function ‘rtfloor’:
drivers/net/wireless/rtl8814au/core/rtw_mp.c:36:12: error: ‘-mgeneral-regs-only’ is incompatible with floating-point argument
 static int rtfloor(float x) {
            ^~~~~~~
scripts/Makefile.build:269: recipe for target 'drivers/net/wireless/rtl8814au/core/rtw_mp.o' failed
make[4]: *** [drivers/net/wireless/rtl8814au/core/rtw_mp.o] Error 1
scripts/Makefile.build:476: recipe for target 'drivers/net/wireless/rtl8814au' failed
make[3]: *** [drivers/net/wireless/rtl8814au] Error 2
scripts/Makefile.build:476: recipe for target 'drivers/net/wireless' failed
make[2]: *** [drivers/net/wireless] Error 2
scripts/Makefile.build:476: recipe for target 'drivers/net' failed
make[1]: *** [drivers/net] Error 2
Makefile:973: recipe for target 'drivers' failed
make: *** [drivers] Error 2

 

Line #36

Spoiler

static int rtfloor(float x) {
    int xi = (int)x;
    return x < xi ? xi - 1 : xi;
}

 


What am I missing here?

  • Author
1 minute ago, zador.blood.stained said:

or troubles with third-party drivers that were not fixed to be compiled for arm64, -mgeneral-regs-only is a standard arm64 flag and it works for the rest of the kernel.


Well, how to fix sources then? Changing float x to int x won't do any good :)

Disable "CONFIG_MP_VHT_HW_TX_MODE" which anyway is useless to our usage.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.