Re: Aktuelle Buildfehler bei make image für Kronos_V2
Verfasst: Sa 9. Okt 2021, 18:25
echt ich dachte 0 fehler ist besser.
Code: Alles auswählen
#
# configuration written to .config
#
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20211009.183534
[INFO ] Building environment variables
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Retrieving needed toolchain components' tarballs'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: do_isl_get[scripts/build/companion_libs/121-isl.sh@16]
[ERROR] >> called from: do_companion_libs_get[scripts/build/companion_libs.sh@15]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@607]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> 'docs/B - Known issues.txt'
[ERROR] >>
[ERROR] >> If you feel this is a bug in crosstool-NG, report it at:
[ERROR] >> https://github.com/crosstool-ng/crosstool-ng/issues/
[ERROR] >>
[ERROR] >> Make sure your report includes all the information pertinent to this issue.
[ERROR] >> Read the bug reporting guidelines here:
[ERROR] >> http://crosstool-ng.github.io/support/
[ERROR]
[ERROR] (elapsed: 8:26.10)
[08:26] / make[1]: *** [ct-ng:146: build] Fehler 1
make: *** [package/crosstool-ng/crosstool-ng.mk:45: crosstool-ng] Fehler 2
Code: Alles auswählen
GEN docs/ct-ng.1
CONF oldconfig
Configuration file was generated by an older version of crosstool-NG;
configuration file has no version; crosstool-NG currently expects
version 3. If this configuration file was generated by a crosstool-NG
version 1.23.0 or later, you can run 'ct-ng upgradeconfig'.
Compatibility with previous releases is not guaranteed. In any case,
verify the resulting configuration.
*
* Restart config...
*
*
* Paths and misc options
*
*
* crosstool-NG behavior
*
Use obsolete features (OBSOLETE) [Y/n/?] y
Try features marked as EXPERIMENTAL (EXPERIMENTAL) [Y/n/?] y
Allow building as root user (READ HELP!) (ALLOW_BUILD_AS_ROOT) [N/y/?] n
Debug crosstool-NG (DEBUG_CT) [N/y/?] n
*
* Paths
Ich habe leider bis jetzt gebraucht, um einen vollständigen Patch zusammen zu stellen, der diesen Fehler für gcc-version >=10 beseitigt.[MCP] hat geschrieben: ↑Fr 8. Okt 2021, 17:48 Ich bin jetzt seit einer Woche mit basteln und testen beschäftigt gewesen.
Bezüglich YYTYPE yylloc habe ich die Ursache insoweit gefunden,
das es an DEBIAN 11 liegt, genauer an dem jetzt benutzten gcc 10.
Ich verweise am besten auf folgende Liste:
https://lists.linaro.org/pipermail/linu ... 78818.html
Ab Verwendung des gcc 10 poppt dann der Ärger auf.
Das dort vorgeschlagene löschen der Deklaration von YYLTYPE yyylloc
funktioniert für Kernel 3.10.108 aber leider nicht.
Hilfe bringt Fix-coolstream-hd2-yylloc-linux-kernel.patch
der gegen remotes/origin/ni/linux-3.10.108 gemacht ist.
Fix-coolstream-hd2-yylloc-linux-kernel.patch
Bei mir lässt sich damit der Kernel ohne Probleme bauen und funktioniert dann auch.
Für djmount ist bei mir Fix-djmount-build-target-tools.patch zum erfolgreichen Image bauen nötig.
Fix-djmount-build-target-tools.patch
Ich hoffe, ich nerve nicht all zu sehr.
Danke zurück. Ich bin froh, das das vom Baustellentisch weg ist.vanhofen hat geschrieben: ↑Mo 25. Okt 2021, 21:23 Vielen Dank.
Die CST-Kernels haben ein eigenes Repo. Drum hab ich den Patch gleich dort commitet.
https://github.com/neutrino-images/ni-l ... fe594c4c01
Das ist korrekt, der Kernel 4.x ist davon auch betroffen...
Man kann hierfür auch den original Patch nehmen, auf den Du ja schon verwiesen hast:
Da die HD51 einen 4.x Kernel benutzt funktioniert der auch.[MCP] hat geschrieben: ↑Fr 8. Okt 2021, 17:48 Ich verweise am besten auf folgende Liste:
https://lists.linaro.org/pipermail/linu ... 78818.html
Code: Alles auswählen
Fast fix:
#include "srcpos.h"
#include "dtc-parser.tab.h"
extern YYLTYPE yylloc; // OLD CODE: YYLTYPE yylloc;
extern bool treesource_error;
/* CAUTION: this will stop working if we ever use yyless() or yyunput() */
#define YY_USER_ACTION \
Code: Alles auswählen
extern bool treesource_error;