Debian build from mrfixit2001
#9
(06-04-2019, 03:14 AM)S_Paul Wrote: Hello Mrfixit2001
Can you help me with advice? How can i build kernel(i want rt-kernel) on your Debian builds?
I download kernel sources from here https://github.com/rockchip-linux/kernel...-4.4-rt176 and here https://github.com/ioft/linux/tree/v4.9.6-p64-rt.
I do "make rockchip_linux_defconfig", "make"... and get error:
gcc: error: unrecognized command line option '-mgeneral-regs-only'
Kbuild:19: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 1
Makefile:1082: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2

It looks i miss something.
Thank you.

Based on the error you supplied, it looks like you may not be using a 64 bit cross compiler.

See this thread and see if it does not shed a little light into your cross compiling gloom ?:

https://github.com/raspberrypi/linux/issues/2682
  Reply


Messages In This Thread
Debian build from mrfixit2001 - by Luke - 02-25-2019, 05:28 PM
RE: Debian build from mrfixit2001 - by fredvej - 02-27-2019, 04:29 PM
RE: Debian build from mrfixit2001 - by dkking - 03-10-2019, 03:59 AM
RE: Debian build from mrfixit2001 - by pineadmin - 05-27-2019, 11:58 PM
RE: Debian build from mrfixit2001 - by S_Paul - 06-04-2019, 03:14 AM
RE: Debian build from mrfixit2001 - by hmuller - 06-05-2019, 09:30 AM
RE: Debian build from mrfixit2001 - by S_Paul - 06-05-2019, 08:24 PM
RE: Debian build from mrfixit2001 - by pineadmin - 06-19-2019, 01:55 AM
RE: Debian build from mrfixit2001 - by JCMPine64 - 06-21-2019, 01:20 PM
RE: Debian build from mrfixit2001 - by Enig123 - 04-27-2020, 01:35 PM
RE: Debian build from mrfixit2001 - by FeMike - 02-11-2020, 04:04 PM
RE: Debian build from mrfixit2001 - by schmidtbag - 06-24-2020, 04:33 PM
RE: Debian build from mrfixit2001 - by dkking - 07-26-2020, 08:01 PM
RE: Debian build from mrfixit2001 - by schmidtbag - 07-27-2020, 06:13 AM
RE: Debian build from mrfixit2001 - by Wizzard - 05-14-2021, 05:10 AM
RE: Debian build from mrfixit2001 - by Wizzard - 05-17-2021, 02:35 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to update/compile Debian 12.5? Wizardknight 3 451 03-29-2024, 05:01 AM
Last Post: gedas07
  Rock64 Debian 11 (Bullseye) install problem jbize 15 8,482 10-12-2023, 05:14 PM
Last Post: tpaul
  rock64-debian-mrfixit-190531.img.xz : missing /usr/lib/dri/rockchip_dri.so popi 5 5,289 08-12-2021, 04:55 AM
Last Post: igorp
  Debian kernel stuck at 4.4.167 Enig123 5 5,667 12-29-2020, 12:57 PM
Last Post: kwinz
  Debian (Vanilla) on Rock64 and eMMC - how ? as365n4 4 5,289 09-21-2020, 04:33 AM
Last Post: as365n4
  pcsx rearmed on rock64 debian stretch does not go fullscreen RockyBoulder 2 4,247 05-09-2020, 03:15 AM
Last Post: lawrencejd
Question alternative browser / seamonkey armhf build? kapqa 1 2,891 03-26-2020, 03:02 AM
Last Post: kapqa
  csdr build issues. TravisH 0 1,980 02-19-2020, 04:47 AM
Last Post: TravisH
  Fedora 31 crosscompilation fdt problem mimics debian 888789 kf5zmi 2 4,183 01-20-2020, 12:25 PM
Last Post: kf5zmi
  Upgrading Debian Stretch image to Buster cosuhi 2 4,740 08-27-2019, 02:42 AM
Last Post: Malmgren

Forum Jump:


Users browsing this thread: 1 Guest(s)