The offending commit is from November 2022.
Here are test outputs with the offending commit and then current mob.

Below is the output with the offending commit 62096265
of the test part of:
  git clean -xfd && ./configure && make && make test

------------ hello-exe ------------
dyld: REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB has segment 4 which is not a 
writable segment (__LINKEDIT) in /Users/avih/dev/tcc/tcc.upstream/tests/./hello
/bin/sh: line 1: 49518 Abort trap: 6           ./hello
+ ../tcc -vv
tcc version 0.9.27 HEAD:6209626 (x86_64 Darwin)
install: /usr/local/lib/tcc
include:
  /usr/local/lib/tcc/include
  /usr/local/include
  
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include
libraries:
  /usr/local/lib/tcc
  /usr/lib
  /lib
  /usr/local/lib
  /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
  /Applications/Xcode.app/Developer/SDKs/MacOSX.sdk/usr/lib
libtcc1:
  /usr/local/lib/tcc/libtcc1.a
+ otool -L ../tcc
../tcc:
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1252.50.4)
+ exit 1
make[2]: *** [hello-exe] Error 1
make[1]: *** [all] Error 2
make: *** [test] Error 2



And this is the slightly different test part output of the same
command with current mob HEAD (4dc4e93):

------------ hello-exe ------------
dyld: cannot load 'hello' (load command 0x80000034 is unknown)
/bin/sh: line 1: 53010 Abort trap: 6           ./hello
+ ../tcc -vv
tcc version 0.9.27 HEAD:4dc4e93 2023-03-13T17:01:35+01:00 (x86_64 Darwin)
install: /usr/local/lib/tcc
include:
  /usr/local/lib/tcc/include
  /usr/local/include
  
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include
libraries:
  /usr/local/lib/tcc
  /usr/lib
  /lib
  /usr/local/lib
  /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
  /Applications/Xcode.app/Developer/SDKs/MacOSX.sdk/usr/lib
libtcc1:
  /usr/local/lib/tcc/libtcc1.a
+ otool -L ../tcc
../tcc:
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1252.50.4)
+ exit 1
make[2]: *** [hello-exe] Error 1
make[1]: *** [all] Error 2
make: *** [test] Error 2

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to