Re: Issues building BBC using GAR on RedHat 8.0 (& 7.2 too)
Stuart Levy <[email protected]>
| Newsgroups | gmane.linux.bbc.general |
|---|---|
| Message-ID | <[email protected]> |
Robert Withrow wrote:
|Attempting to build Gar STABLE fetched today on RedHat 8.0. I
|have two problems, shown below. I know I could probably put together
|a chroot solution, but I'm trying to build using standard RedHat tools
|because I'm trying to actually construct a custom distro for a project
|using GAR. Should I expect Gar to build BBC on RedHat?
|
|My problems are (from a freshly fetched STABLE):
|
| * make deep-checksums doesn't seem to do anything. Here is a snippet:
<...snipped...>
|
| * make build fails building libgcc2:
|
| /home/bwithrow/gar/devel/gcc/work/build.d/i386-pc-linux-gnu/gcc/xgcc -B/home/bwithrow/gar/devel/gcc/work/build.d/i386-pc-linux-gnu/gcc/ -B/home/bwithrow/garbuild/i386-pc-linux-gnu/bin/ -I/home/bwithrow/garbuild/i386-pc-linux-gnu/include -O2 -DCROS
| ../../gcc-2.95.3/gcc/libgcc2.c -o ${name}.o; \
| if [ $? -eq 0 ] ; then true; else exit 1; fi; \
| i386-pc-linux-gnu-ar rc tmplibgcc2.a ${name}.o; \
| rm -f ${name}.o; \
| done
| _muldi3
| ../../gcc-2.95.3/gcc/libgcc2.c:41: stdlib.h: No such file or directory
| ../../gcc-2.95.3/gcc/libgcc2.c:42: unistd.h: No such file or directory
| make[10]: *** [libgcc2.a] Error 1
and Nick Moffitt replied:
> http://lnx-bbc.org/versions.html
>
> It's more an issue of glibc 2.2 vs 2.3 than it is red hat vs
> some other distro. If anything, you should see a difference between
> 7.1 and 8.0 of Red Hat.
>
> We see differences between debian testing and stable, even.
> STABLE builds only on stable, and HEAD only on testing and later.
But I bet that's not the cause of the gcc-build-missing-stdlib/unistd
error. I'm getting that same error while building STABLE
on a Red Hat 7.2 / glibc 2.2.4 environment
(with the RH cc/gcc replaced with gcc 2.95.3).
And it's true, stdlib.h and unistd.h don't appear to be under
the .../i386-pc-linux-gnu/include tree. Is it a build-order problem,
where something else should have put them there before building libgcc2?
(Could I just take gcc out of all the dependency lists, and build lnx-bbc
with the gcc I already have installed?)
Thanks -
Stuart Levy