corsix / polyfill-glibc

Patch Linux executables for compatibility with older glibc
Other
173 stars 4 forks source link

Glibc 2.38 fscanf error #7

Closed MageSlayer closed 4 months ago

MageSlayer commented 4 months ago

Hi

I am trying to change required glibc for manually built recent LuaJIT under 2.38. However all I get is:

$ polyfill-glibc --target-glibc=2.36 ./libluajit.so 
Cannot change target version of ./libluajit.so to 2.36 (x86_64) due to missing knowledge about how to handle:
  __isoc23_fscanf@GLIBC_2.38

Checked under 918c6813ed9bf867a4f2b162e471d4498eeed428 commit. Is it something worth reporting?

corsix commented 4 months ago

I've opted for the slightly lazy approach in 24167a8 of renaming this function to its C99 equivalent.

MageSlayer commented 4 months ago

Thanks!