riscv-software-src / riscv-pk

RISC-V Proxy Kernel
Other
595 stars 308 forks source link

unrecognized argument in option ‘-mcmodel=medany’ #251

Closed ghita92 closed 3 years ago

ghita92 commented 3 years ago

Hello, I'm having issue installing risc-pk. i have this error while runing make. gcc -MMD -MP -Wall -Werror -D__NO_INLINE__ -mcmodel=medany -O2 -std=gnu99 -Wno-unused -Wno-attributes -fno-delete-null-pointer-checks -fno-PIE -DBBL_LOGO_FILE=\"bbl_logo_file\" -DMEM_START=0x80000000 -fno-stack-protector -U_FORTIFY_SOURCE -DBBL_PAYLOAD=\"bbl_payload\" -I. -I../pk -I../bbl -I../softfloat -I../dummy_payload -I../machine -I../util -c ../pk/file.c gcc: error: unrecognized argument in option ‘-mcmodel=medany’ gcc: note: valid arguments to ‘-mcmodel=’ are: 32 kernel large medium small make: *** [Makefile:336: file.o] Error 1 is anyone facing the same issue ?

aswaterman commented 3 years ago

See https://github.com/riscv/riscv-pk/issues/204