Changes between Initial Version and Version 1 of Ticket #63164, comment 16


Ignore:
Timestamp:
Jul 9, 2021, 8:18:12 AM (3 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #63164, comment 16

    initial v1  
    1 whatever is causing that log2 thing, it also happens with clang, by the way, using a totally different set of headers and libraries:
     1whatever is causing that log2 thing, it also happens with clang, by the way, using a totally different set of headers and libraries. The libgcc.s.1.dylib you are worried about is not even in the mix here:
    22{{{
    33$ cat kentest.c
     
    17174096 11
    1818}}}
     19
     20{{{
     21$ clang-mp-3.4 -v -Wl,-v -Wall -o kentest1 kentest.c
     22clang version 3.4.2 (tags/RELEASE_34/dot2-final)
     23Target: i386-apple-darwin8.11.1
     24Thread model: posix
     25 "/opt/local/libexec/llvm-3.4/bin/clang" -cc1 -triple i386-apple-macosx10.4.0 -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name kentest.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -target-cpu yonah -target-linker-version 97.17 -v -resource-dir /opt/local/libexec/llvm-3.4/bin/../lib/clang/3.4.2 -Wall -fdebug-compilation-dir /Users/cunningh -ferror-limit 19 -fmessage-length 211 -mstackrealign -fobjc-runtime=macosx-fragile-10.4.0 -fencode-extended-block-signature -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o /var/tmp/kentest-d9d8ed.o -x c kentest.c
     26clang -cc1 version 3.4.2 based upon LLVM 3.4.2 default target i386-apple-darwin8.11.1
     27ignoring nonexistent directory "/usr/local/include"
     28#include "..." search starts here:
     29#include <...> search starts here:
     30 /opt/local/libexec/llvm-3.4/bin/../lib/clang/3.4.2/include
     31 /usr/include
     32 /System/Library/Frameworks (framework directory)
     33 /Library/Frameworks (framework directory)
     34End of search list.
     35 "/opt/local/libexec/llvm-3.4/bin/ld" -dynamic -arch i386 -macosx_version_min 10.4.0 -o kentest1 -lcrt1.o -v /var/tmp/kentest-d9d8ed.o -lSystem -lgcc_s.10.4 /opt/local/libexec/llvm-3.4/bin/../lib/clang/3.4.2/lib/darwin/libclang_rt.10.4.a
     36@(#)PROGRAM:ld  PROJECT:ld64-97.17
     37configured to support archs: i386 x86_64 ppc ppc64 armv6 armv7
     38Library search paths:
     39        /usr/lib
     40        /usr/local/lib
     41Framework search paths:
     42        /Library/Frameworks/
     43        /System/Library/Frameworks/
     44}}}
     45{{{
     46h$ otool -L kentest1
     47kentest1:
     48        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.11)
     49        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
     50}}}
     51