After sawing more and more use of loop parallisation on gentoo user make.conf, I tried too. But it does not work fine here, most package using it compile, but packages linking to those packages have errors like:
Code: Select all
crc32.o: In function `get_crc_table._loopfn.0':
crc32.c:(.text+0x25a): undefined reference to `omp_get_num_threads'
crc32.c:(.text+0x261): undefined reference to `omp_get_thread_num'
inflatef.o: In function `inflate_dynamic':
inflate.c:(.text+0x118a): undefined reference to `GOMP_parallel_start'
inflate.c:(.text+0x1197): undefined reference to `GOMP_parallel_end'
inflatef.o: In function `inflate_fixed':
inflate.c:(.text+0x18de): undefined reference to `GOMP_parallel_start'
inflate.c:(.text+0x18eb): undefined reference to `GOMP_parallel_end'
inflate.c:(.text+0x19de): undefined reference to `GOMP_parallel_start'
inflate.c:(.text+0x19eb): undefined reference to `GOMP_parallel_end'
inflate.c:(.text+0x1ade): undefined reference to `GOMP_parallel_start'
inflate.c:(.text+0x1aeb): undefined reference to `GOMP_parallel_end'
inflate.c:(.text+0x1c5e): undefined reference to `GOMP_parallel_start'
inflate.c:(.text+0x1c6b): undefined reference to `GOMP_parallel_end'
inflatef.o: In function `inflate_fixed._loopfn.7':
inflate.c:(.text+0x22e5): undefined reference to `omp_get_num_threads'
inflate.c:(.text+0x22ed): undefined reference to `omp_get_thread_num'
inflatef.o: In function `inflate_fixed._loopfn.6':
inflate.c:(.text+0x2365): undefined reference to `omp_get_num_threads'
inflate.c:(.text+0x236d): undefined reference to `omp_get_thread_num'
inflatef.o: In function `inflate_fixed._loopfn.5':
inflate.c:(.text+0x23e5): undefined reference to `omp_get_num_threads'
inflate.c:(.text+0x23ed): undefined reference to `omp_get_thread_num'
inflatef.o: In function `inflate_fixed._loopfn.4':
inflate.c:(.text+0x2465): undefined reference to `omp_get_num_threads'
inflate.c:(.text+0x246d): undefined reference to `omp_get_thread_num'
inflatef.o: In function `inflate_dynamic._loopfn.3':
inflate.c:(.text+0x24e7): undefined reference to `omp_get_num_threads'
inflate.c:(.text+0x24ef): undefined reference to `omp_get_thread_num'
inflatef.o: In function `inflate_dynamic._loopfn.2':
inflate.c:(.text+0x2575): undefined reference to `omp_get_num_threads'
inflate.c:(.text+0x257d): undefined reference to `omp_get_thread_num'
inflatef.o: In function `inflate_dynamic._loopfn.1':
inflate.c:(.text+0x25f6): undefined reference to `omp_get_num_threads'


