8000 Build error · Issue #76 · khadas/linux · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Build error #76
Open
Open
@webhive

Description

@webhive

I am building branch khadas-linux-6.1.y with fenix tool using docker.
And I got some errors related to preprocess constant expressions. I was fixing it replacing expressions like 0.707 * 1024 with manually calculated values until stuck with the following error:

Info: Linux: Already on branch 'khadas-linux-6.1.y'
Info: Build linux...
aarch64-none-linux-gnu- /home/khadas/fenix/build/toolchains/gcc-arm-aarch64-none-linux-gnu-mainline/bin
make[1]: Entering directory '/home/khadas/fenix/build/linux'
#
# No change to .config
#
make[1]: Leaving directory '/home/khadas/fenix/build/linux'
make[1]: Entering directory '/home/khadas/fenix/build/linux'
  CALL    scripts/checksyscalls.sh
  CC      drivers/base/power/sysfs.o
  CC      drivers/base/power/generic_ops.o
  CC      drivers/gpu/drm/meson/meson_viu.o
  CC [M]  drivers/block/drbd/drbd_bitmap.o
  CC      drivers/base/power/common.o
  CC      drivers/base/power/qos.o
drivers/gpu/drm/meson/meson_viu.c:64:9: internal compiler error: Illegal instruction
   64 |         COEFF_NORM(0.181873),   COEFF_NORM(0.611831),   COEFF_NORM(0.061765),
      |         ^~~~~~~~~~
0x1732310 diagnostic_impl(rich_location*, diagnostic_metadata const*, int, char const*, __va_list_tag (*) [1], diagnostic_t)
	???:0
0x1732f96 internal_error(char const*, ...)
	???:0
0xc24faf crash_signal(int)
	???:0
0x1935b09 __gmpn_mul_basecase
	???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://bugs.linaro.org/> for instructions.
make[6]: *** [scripts/Makefile.build:250: drivers/gpu/drm/meson/meson_viu.o] Error 1
make[5]: *** [scripts/Makefile.build:500: drivers/gpu/drm/meson] Error 2
make[4]: *** [scripts/Makefile.build:500: drivers/gpu/drm] Error 2
make[3]: *** [scripts/Makefile.build:500: drivers/gpu] Error 2
make[3]: *** Waiting for unfinished jobs....

It is related to same issue as compiler unable to precalculate expression #define COEFF_NORM(a) ((int)((((a) * 2048.0) + 1) / 2)), but I am not so familiar to this code to resolve such kind of issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0