-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a check for gperf function signature.
Loosely based on: systemd/systemd@c9f7b4d Signed-off-by: Alexey Neyman <[email protected]> Signed-off-by: Max Filippov <[email protected]>
- Loading branch information
Showing
4 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37b07f6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this commit causes an error when building (arch linux latest here), since the function kconf_id_lookup() has now a different signature than kconf_id_lookup(register const char *str, register size_t len).
37b07f6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@funnydog could you please share your config.log, kconfig/zconf.hash.c and the exact error message that you see?
37b07f6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, sorry for the missing details, I was in a hurry.
config.log:
https://gist.github.com/anonymous/79cf55119baf7e20e0945bf04eaa3c08
zconf.hash.c:
https://gist.github.com/anonymous/1b0255a128249ffc27138f85637eb622
This is the error message:
This is the gcc version I'm using:
37b07f6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, @funnydog , according to the contents of your config.log and especially the following line in it:
you haven't rebuilt configure script in your crosstool-ng. Please try running bootstrap script followed by configure followed by make.
37b07f6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now I get it, and I'm a little embarassed since it seems I wasted your time :(
esp-open-sdk which I tried to build, checks out the commit: ecfc19a
of crosstool-NG and the build fails.
But if I checkout the xtensa-1.22.x branch everything is ok.
I'm sorry for the noise, I'll report the bug to esp-open-sdk.