Hey,

you are right. :)  I now managed to compile OpenMP library from GCC sources.
How do I link the Libgomp correctly during the bake / compile phase ?
I tried  x86_64-rumprun-netbsd-gcc stream.c -o stream_rump
../gcc-build/.libs/libgomp.a
but running into:

xc: error: panic: xc_dom_core.c:544: xc_dom_alloc_segment: segment kernel
too large (0x6b8fc > 0x4000 - 0x0 pages): Out of memory
libxl: error: libxl_dom.c:427:libxl__build_pv: xc_dom_build_image failed:
No such file or directory
libxl: error: libxl_create.c:1022:domcreate_rebuild_done: cannot (re-)build
domain: -3
rumprun: error: xl create failed


Did I have overlook something / forgot a step ?

Cheers,

Vincent


2015-09-03 17:27 GMT+02:00 Antti Kantee <[email protected]>:

> On 03/09/15 11:41, Vincent Schwarzer wrote:
>
>> Hi,
>>
>> Pulling main into the program cause some error during compiling the gcc
>> libgomp (OpenMP) library. When I try to compile the Make created by the
>> configure file.
>>
>
> You are trying to build a shared library with the Rumprun toolchain.
> Rumprun does not support shared libraries, and therefore the toolchain does
> not support building them.  Yea, the error message could probably be a bit
> more obvious, so if someone wants to improve it, submit a pull req.
>
> Usually you can disable shared libraries from a build with something like
> ./configure --disable-shared.
>
>

Reply via email to