Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
Description
The distribution of the make tools bundled with RosBE is a little dated. As such, compilation of the code fails and RosBE doesn't bootstrap on host systems with a more recent GCC revision, i.e. at least with 7.x+ on Ubuntu 18.04.
The following diff does fix compilation.
{{ diff --git a/glob/glob.c b/glob/glob.c }}
{{ index f3911bc..8adbde3 100644 }}
{{ — a/glob/glob.c }}
{{ +++ b/glob/glob.c }}
{{ @@ -208,7 +208,7 @@ my_realloc (p, n) }}
{{ #endif /* _GNU_LIBRARY_ || _DJGPP_ */ }}
{{ -#if !defined _alloca && !defined __GNU_LIBRARY_ }}
{{ +#if !defined _alloca && defined __GNU_LIBRARY_ }}
{{ # ifdef _GNUC_ }}
{{ # undef alloca }}
A tarball with the patch applied is attached to this JIRA.
Attachments
Issue Links
- duplicates
-
ROSBE-131 Build Error Slackware Current & Fedora 28+ & Ubuntu 18.10 -- missing __alloca and __stat
- Resolved