| Summary: | regarding dtc error in buildroot source code | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | anil kumar <anilcharan357> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED WONTFIX | ||
| Severity: | normal | CC: | anilcharan357, buildroot, yann.morin.1998 |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | the error is about multiple definition of yyloc which is in the path /scripts/scripts/dtc/dtc-lexer.lex.o | ||
|
Description
anil kumar
2020-11-19 17:24:08 UTC
Created attachment 8671 [details]
the error is about multiple definition of yyloc which is in the path /scripts/scripts/dtc/dtc-lexer.lex.o
This error raised with gcc 10 should have been fixed by https://git.buildroot.net/buildroot/commit/?id=198db470a73c14191915f8374362bc2a8b08c2bf (applied to master in April 2020) Anil, All, As stated by Fabrice, this is now fixed for the dtc package he pointed at. The traces you pasted are supposedly from the Linux kernel. Since there are so many versions of the Linux kernel, we can't easily bundle a patch for the dtc copy bundled in the kernel sources. You will have to backport the upstream commit e33a814e772cdc36436c8c188d8c42d019fda639, using BR2_GLOBAL_PATCH_DIR. Regards, Yann E. MORIN. |