[GRASS-dev] GRASS 84/85 failing on wingrass.fsv.cvut.cz

Martin Landa landa.martin at gmail.com
Mon Sep 30 14:29:27 PDT 2024


Dear all,

recently I discovered, that compilation of GRASS 8.4.1dev and 8.5.0dev
versions are failing on wingrass build server:

x86_64-w64-mingw32-gcc -shared -o
/usr/src/grass84/dist.x86_64-w64-mingw32/lib/libgrass_interpfl.8.4.dll
-L/usr/src/grass84/dist.x86_64-w64-mingw32/lib
-L/usr/src/grass84/dist.x86_64-w64-mingw32/lib
-Wl,--export-dynamic,--enable-runtime-pseudo-reloc  -L/c/osgeo4w/lib
OBJ.x86_64-w64-mingw32/distance.o OBJ.x86_64-w64-mingw32/func2d.o
OBJ.x86_64-w64-mingw32/init2d.o OBJ.x86_64-w64-mingw32/input2d.o
OBJ.x86_64-w64-mingw32/interp2d.o OBJ.x86_64-w64-mingw32/matrix.o
OBJ.x86_64-w64-mingw32/minmax.o OBJ.x86_64-w64-mingw32/output2d.o
OBJ.x86_64-w64-mingw32/point2d.o OBJ.x86_64-w64-mingw32/resout2d.o
OBJ.x86_64-w64-mingw32/ressegm2d.o OBJ.x86_64-w64-mingw32/secpar2d.o
OBJ.x86_64-w64-mingw32/segmen2d.o
OBJ.x86_64-w64-mingw32/segmen2d_parallel.o
OBJ.x86_64-w64-mingw32/vinput2d.o OBJ.x86_64-w64-mingw32/write2d.o
-lgrass_gis.8.4 -lintl -lgrass_raster.8.4 -lgrass_vector.8.4
-lgrass_gmath.8.4 -lgrass_dbmiclient.8.4 -lgrass_dbmibase.8.4
 -lgrass_bitmap.8.4 -lgrass_qtree.8.4 -lgrass_interpdata.8.4   -lomp
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
warning: --export-dynamic is not supported for PE+ targets, did you mean
--export-all-symbols?
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
OBJ.x86_64-w64-mingw32/segmen2d_parallel.o: in function
`IL_interp_segments_2d_parallel._omp_fn.0':
C:/msys64/usr/src/grass84/lib/rst/interp_float/segmen2d_parallel.c:108:(.text+0x1bd):
undefined reference to `GOMP_loop_nonmonotonic_dynamic_start'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:/msys64/usr/src/grass84/lib/rst/interp_float/segmen2d_parallel.c:143:(.text+0x595):
undefined reference to `GOMP_loop_nonmonotonic_dynamic_next'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:/msys64/usr/src/grass84/lib/rst/interp_float/segmen2d_parallel.c:143:(.text+0x5a2):
undefined reference to `GOMP_loop_end'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:/msys64/usr/src/grass84/lib/rst/interp_float/segmen2d_parallel.c:384:(.text+0x96d):
undefined reference to `GOMP_critical_start'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
C:/msys64/usr/src/grass84/lib/rst/interp_float/segmen2d_parallel.c:384:(.text+0xa68):
undefined reference to `GOMP_critical_end'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
OBJ.x86_64-w64-mingw32/segmen2d_parallel.o: in function
`IL_interp_segments_2d_parallel':
C:/msys64/usr/src/grass84/lib/rst/interp_float/segmen2d_parallel.c:108:(.text+0x12c4):
undefined reference to `GOMP_parallel'
collect2.exe: error: ld returned 1 exit status
make[5]: *** [../../../include/Make/Shlib.make:16:
/usr/src/grass84/dist.x86_64-w64-mingw32/lib/libgrass_interpfl.8.4.dll]
Error 1

In contrast, GRASS 8.4.0 is built with success.

Do you have any ideas about relevant source code change causing this
problem on the build server?

Thanks a lot in advance, best regards, Martin Landa

-- 
Martin Landa
https://geomatics.fsv.cvut.cz/en/employees/martin-landa/
http://gismentors.cz/mentors/landa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20240930/a40bafdd/attachment.htm>


More information about the grass-dev mailing list