On 05/05/2017 10:59 AM, Vojtech Horky wrote:
> Python is broken after the merge of the VFS improvements. When I was
> looking at it, it wasn't clear to me why it was failing as it was.
> If anyone knows any better, I'd be very grateful.
>
> I remember we discussed that on IRC. The reason seemed obvious
> (undefined functions when linking) but I have no idea why it fails for
> these functions now as they have not changed at all from Python's point
> of view.
Well, it was not clear - at least to me - why these are suddenly
undefined and only for Python. Our native code has no issue with these
symbols.
> Also pcc seems to be broken more than necessary.
>
> AFAIK PCC is broken for quite a long time but we have (more or less
> working) GCC and thus no one cares that much about PCC.
So we should either fix it or remove it altogether. There is no point in
keeping it defunct in the coastline.
> But when building does not make sense? I think we should aim for having
> the whole matrix in the green. And the purpose of the CI build is to
> know the overall status.
For example when PCC does not support it. Some of its source code
components seem to be unable to build when one of mach_i386, mach_ppc32
(?), mach_amd64 and mach_mips32 (?) is not defined (and I don't think it
supports cross-compilation or at least we do not build it that way):
pcc-1.0.0/os/helenos/ccconfig.h:
#if defined(mach_ia32)
#define CPPMDADD { "-D__i386__", NULL, }
#define DYNLINKER { NULL }
#elif defined(mach_ppc32)
#define CPPMDADD { "-D__ppc__", NULL, }
#define DYNLINKER { NULL }
#elif defined(mach_amd64)
#define CPPMDADD { "-D__x86_64__", NULL, }
#define DYNLINKER { NULL }
#elif defined(mach_mips32)
#define CPPMDADD { "-D__mips__", NULL, }
#define DYNLINKER { NULL }
#else
#error defines for arch missing
#endif
Jakub
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel