Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

arm-elf-gcc compiler issues #4

Description

@squiffy

Can't compile gcc correctly since its not following C99 properly.

../../gcc/toplev.c:545:1: error: redefinition of a 'extern inline' function 'floor_log2' is not supported in C99 mode
floor_log2 (unsigned HOST_WIDE_INT x)
^
../../gcc/toplev.h:178:1: note: previous definition is here
floor_log2 (unsigned HOST_WIDE_INT x)
^
../../gcc/toplev.c:580:1: error: redefinition of a 'extern inline' function 'exact_log2' is not supported in C99 mode
exact_log2 (unsigned HOST_WIDE_INT x)
^
../../gcc/toplev.h:184:1: note: previous definition is here
exact_log2 (unsigned HOST_WIDE_INT x)
^
2 errors generated.
make[2]: *** [toplev.o] Error 1
make[2]: *** Waiting for unfinished jobs....
rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gcc.pod
make[1]: *** [all-gcc] Error 2
make: *** [all] Error 2
/usr/local/Library/Homebrew/formula.rb:613:in `system'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions