Created attachment 322178 [details] build.log if x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"plib\" -DVERSION=\"1.8.5\" - DHAVE_LIBPTHREAD=1 -DHAVE_LIBGL=1 -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -I../../src/sg -I../../src/util -march=native -O2 -fPIC -Wall -MT ssgLoadMDL.o -MD -MP -MF ".deps/ssgLoadMDL.Tpo" -c -o ssgLoadMDL.o ssgLoadMDL.cxx; \ then mv -f ".deps/ssgLoadMDL.Tpo" ".deps/ssgLoadMDL.Po"; else rm -f ".deps/ssgLoadMDL.Tpo"; exit 1; fi In file included from /usr/include/string.h:642:0, from ../../src/util/ul.h:43, from ../../src/sg/sg.h:29, from ssg.h:29, from ssgLocal.h:27, from ssgLoadOBJ.cxx:62: In function ‘char* strncat(char*, const char*, size_t)’, inlined from ‘void load_materials(const char*)’ at ssgLoadOBJ.cxx:224:37, inlined from ‘int obj_read(FILE*)’ at ssgLoadOBJ.cxx:609:33: /usr/include/bits/string3.h:152:71: warning: call to char* __builtin___strncat_chk(char*, const char*, long unsigned int, long unsigned int) might overflow destination buffer
The warning refer to a variable that is used to host a path name. That is 1024 byte long. It could overflow, but I doubt really does. At suse they fixed as per https://build.opensuse.org/package/view_file?file=plib-1.8.5-strncat.patch&package=plib&project=devel%3AopenSUSE%3AFactory%3Apatch-license&rev=7dec52fbe9690235cc6359efc791e2f3 I prefer not to fix it and leave the way it is.