Skip to content

multible definitions yylloc #40

@blueforesticarus

Description

@blueforesticarus

Branch: ti-linux-4.14.y
release: r135

failure while linking scripts/lex/__
seems to have been fixed upstream?
I belive the problem is exclusive to gcc10/clang10 or higher.

relevant logs:

HOSTCC scripts/dtc/dtc-lexer.lex.o
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTLD scripts/dtc/fdtoverlay
HOSTLD scripts/dtc/dtc
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [scripts/Makefile.host:111: scripts/dtc/dtc] Error 1
make[2]: *** [scripts/Makefile.build:585: scripts/dtc] Error 2
make[2]: *** Waiting for unfinished jobs....

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