Git Product home page Git Product logo

darlinghq / darling Goto Github PK

View Code? Open in Web Editor NEW
11.1K 11.1K 425.0 39.37 MB

Darwin/macOS emulation layer for Linux

Home Page: http://www.darlinghq.org

License: GNU General Public License v3.0

Shell 0.15% Objective-C 52.33% C 28.19% C++ 15.09% Objective-C++ 0.09% Assembly 2.08% Python 0.10% CMake 1.31% Yacc 0.03% GDB 0.01% Roff 0.57% Dockerfile 0.01% Rich Text Format 0.01% R 0.01% Swift 0.01% Rez 0.03%

darling's People

Contributors

ahyattdev avatar andyneff avatar bugaevc avatar ckegel avatar crwulff avatar curioustommy avatar dingari avatar facekapow avatar fancy2209 avatar hintak avatar jamesu avatar kamillys avatar lubosd avatar mmueller2012 avatar mrolappe avatar patriotyk avatar sbinet avatar shinh avatar stek29 avatar stephengroat avatar thebrokenrail avatar thetumultuousunicornofdarkness avatar thopiekar avatar totalcaesar659 avatar trungnt2910 avatar vadd98 avatar whereswaldon avatar woachk avatar zachwolfe avatar zhaofengli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

darling's Issues

32-bit C++ exceptions - broken unwinding

Stack unwinding signalises end of stack as if there was no __eh_info installed. Only throw with a catch inside of the same frame seems to work. It's OK for 64-bit code.

Breakpoint 1, _Unwind_RaiseException (exc=0x8104fd0) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc/unwind.inc:88
88        uw_init_context (&this_context);
(gdb) bt
#0  _Unwind_RaiseException (exc=0x8104fd0) at /var/tmp/portage/sys-devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc/unwind.inc:88
#1  0x4a410241 in __cxa_throw () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/32/libstdc++.so.6
#2  0x00001dd9 in ?? ()
#3  0x00001deb in ?? ()
#4  0x00001d3b in ?? ()
#5  0x080a00bd in MachOLoader::run (this=0x80fc690, mach=..., argc=1, argv=0xffffcfb8, envp=0xffffcfc0, bindLazy=false) at /home/lubos/Projects/darling/src/dyld/MachOLoader.cpp:702
#6  0x080c9bf4 in main (argc=2, argv=0xffffcfb4, envp=0xffffcfc0) at /home/lubos/Projects/darling/src/dyld/dyld.cpp:150
(gdb) n
83      {
(gdb) 
88        uw_init_context (&this_context);
(gdb) 
89        cur_context = this_context;
(gdb) 
99            code = uw_frame_state_for (&cur_context, &fs);
(gdb) 
101           if (code == _URC_END_OF_STACK)
(gdb) 
105           if (code != _URC_NO_REASON)
(gdb) p code
$1 = _URC_NO_REASON
(gdb) n
111           if (fs.personality)
(gdb) 
122           uw_update_context (&cur_context, &fs);
(gdb) 
99            code = uw_frame_state_for (&cur_context, &fs);
(gdb) 
101           if (code == _URC_END_OF_STACK)
(gdb) p code
$2 = _URC_NO_REASON
(gdb) 
$3 = _URC_NO_REASON
(gdb) n
105           if (code != _URC_NO_REASON)
(gdb) 
111           if (fs.personality)
(gdb) 
113               code = (*fs.personality) (1, _UA_SEARCH_PHASE, exc->exception_class,
(gdb) p fs.personality 
$4 = (_Unwind_Personality_Fn) 0x4a40f650 <__gxx_personality_v0>
(gdb) p exc->exception_class
$5 = 5138137972254386944
(gdb) po exc->exception_class
Cannot access memory at address 0x432b2b00
(gdb) p/x exc->exception_class
$6 = 0x474e5543432b2b00
(gdb) n
115               if (code == _URC_HANDLER_FOUND)
(gdb) p code
$7 = _URC_CONTINUE_UNWIND
(gdb) n
117               else if (code != _URC_CONTINUE_UNWIND)
(gdb) 
122           uw_update_context (&cur_context, &fs);
(gdb) 
99            code = uw_frame_state_for (&cur_context, &fs);
(gdb) 
101           if (code == _URC_END_OF_STACK)
(gdb) p code
$8 = _URC_END_OF_STACK

[Launchpad.net] - Can't import code as darling's git repository is using submodules.

Today I managed to make basic packages of all gnustep dependencies, but now I ran into a problem with darling. As it is needed to import the code from github to launchpad to make nightly builds the git repository has to be converted into a bzr branch.

At the moment bzr does not support converting git branches which are containing submodules.

Thus, the question: Are you willing to remove them?
Additionally I don't know if they have to be removed only from the latest or all commits.

It would be great if we could get it working :)

Implement C++ name (de)mangler for libstdc++

There are naming incompatibilities between Darwin and Linux versions of libstdc++.

x86-64:
Darwin: long long (x)
Linux: long (l)

i386:
Darwin: unsigned long (m)
Linux: unsigned int (j)

These functions are ABI-compatible, but have different names, so dyld cannot find them.

IOKit: USB support

Long term: support userspace USB I/O, use libusb. Think of a way of testing.

termios: loss of speed information

Darling causes OS X Bash to somehow lose the speed information along the way:

ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B0 opost isig -icanon -echo ...}) = 0

This causes read() to return 0 when reading from stdin.

Expected output (Bash for Linux):

ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW, {B38400 opost isig -icanon -echo ...}) = 0

Missing C++ symbols

When trying to run Apple's version of clang in darling, the "__znst3__113basic_istreamicns_11vhar_traitsiceeed0ev" symbol is missing.

As clang only relies on libSystem and libc++, I have a feeling that either I am not doing something correctly, or the C++ implementation is lacking. How is darling's current C++ support?

Dependencies aren't checked and searched for

Darling's dependencies (such as gnustep-base...) aren't checked in CMakeLists.txt and their respective header files aren't searched for in the system. For instance, some distros have GNUstep's headers in /usr/include/GNUStep.

Support AGL+Carbon

Support AGL and the most basic Carbon APIs to enable older proprietary games to run.

Not building on ubuntu, segmentation fault

โžœ darling git:(master) โœ— make
Scanning dependencies of target util
[ 1%] Building CXX object CMakeFiles/util.dir/src/util/log.o
[ 2%] Building CXX object CMakeFiles/util.dir/src/util/trace.o
[ 3%] Building CXX object CMakeFiles/util.dir/src/util/stlutils.o
[ 4%] Building CXX object CMakeFiles/util.dir/src/util/IniConfig.o
/tmp/darling/src/util/IniConfig.cpp:28:49: error: use of undeclared identifier 'v'
[](const SectionMap::value_type& v) { return v.first; });
^
0 libLLVM-3.0.so.1 0x00002b41788e366f
1 libLLVM-3.0.so.1 0x00002b41788e3ad9
2 libpthread.so.0 0x00002b4179222cb0
3 clang 0x0000000000d1d349 clang::Expr::hasAnyTypeDependentArguments(clang::Expr**, unsigned int) + 41
4 clang 0x00000000009499d3 clang::Sema::ActOnCallExpr(clang::Scope_, clang::Expr_, clang::SourceLocation, clang::ASTMultiPtrclang::Expr*, clang::SourceLocation, clang::Expr_, bool) + 483
5 clang 0x0000000000812d09 clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr_, true>) + 3145
6 clang 0x000000000080cd3b clang::Parser::ParseCastExpression(bool, bool, bool&, bool) + 203
7 clang 0x000000000080f59e clang::Parser::ParseCastExpression(bool, bool, bool) + 30
8 clang 0x000000000080fe8f clang::Parser::ParseAssignmentExpression() + 31
9 clang 0x0000000000810c59 clang::Parser::ParseExpression() + 9
10 clang 0x00000000007d35f2 clang::Parser::ParseExprStatement(clang::ParsedAttributes&) + 50
11 clang 0x00000000007cfe18 clang::Parser::ParseStatementOrDeclaration(clang::ASTOwningVector<clang::Stmt*, 32u>&, bool) + 2616
12 clang 0x00000000007cca11 clang::Parser::ParseCompoundStatementBody(bool) + 417
13 clang 0x00000000007cd6fa clang::Parser::ParseFunctionStatementBody(clang::Decl_, clang::Parser::ParseScope&) + 138
14 clang 0x00000000007e708c clang::Parser::ParseFunctionDefinition(clang::Parser::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&) + 1116
15 clang 0x00000000007f4a42 clang::Parser::ParseDeclGroup(clang::Parser::ParsingDeclSpec&, unsigned int, bool, clang::SourceLocation_, clang::Parser::ForRangeInit_) + 610
16 clang 0x00000000007e2c75 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsingDeclSpec&, clang::AccessSpecifier) + 149
17 clang 0x00000000007e32e6 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::AccessSpecifier) + 678
18 clang 0x00000000007e4ead clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::Parser::ParsingDeclSpec_) + 2685
19 clang 0x00000000007e5417 clang::Parser::ParseTopLevelDecl(clang::OpaquePtrclang::DeclGroupRef&) + 167
20 clang 0x00000000007bcbfd clang::ParseAST(clang::Sema&, bool) + 269
21 clang 0x00000000006a6253 clang::CodeGenAction::ExecuteAction() + 51
22 clang 0x00000000005adc7f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 319
23 clang 0x000000000059653a clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1114
24 clang 0x000000000058e1c4 cc1_main(char const**, char const*, char const, void_) + 820
25 clang 0x000000000058cb3c main + 620
26 libc.so.6 0x00002b417996b76d __libc_start_main + 237
27 clang 0x000000000058dd39
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple x86_64-pc-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name IniConfig.cpp -pic-level 2 -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 2.22 -momit-leaf-frame-pointer -g -coverage-file CMakeFiles/util.dir/src/util/IniConfig.o -resource-dir /usr/bin/../lib/clang/3.0 -D DEBUG -I /tmp/darling/include -I /tmp/darling -I /tmp/darling/include/xnu -I /tmp/darling/include/xnu/bsd -I /tmp/darling/include/darwin -I /tmp/darling/src/libmach-o -I /tmp/darling/src/util -fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem /usr/include/c++/4.6 -internal-isystem /usr/include/c++/4.6/x86_64-linux-gnu -internal-isystem /usr/include/c++/4.6/backward -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/clang/3.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /usr/include -std=c++0x -fdeprecated-macro -ferror-limit 19 -fmessage-length 172 -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o CMakeFiles/util.dir/src/util/IniConfig.o -x c++ /tmp/darling/src/util/IniConfig.cpp

  1.  /tmp/darling/src/util/IniConfig.cpp:28:59: current parser token ')'
    
  2.  /tmp/darling/src/util/IniConfig.cpp:24:1: parsing function body 'getSections'
    
  3.  /tmp/darling/src/util/IniConfig.cpp:24:1: in compound statement ('{}')
    

clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal 2 (use -v to see invocation)
clang: note: diagnostic msg: Please submit a bug report to http://llvm.org/bugs/ and include command line arguments and all diagnostic information.
clang: note: diagnostic msg: Preprocessed source(s) are located at:
clang: note: diagnostic msg: /tmp/IniConfig-nMNOCM.ii
make[2]: *_* [CMakeFiles/util.dir/src/util/IniConfig.o] Error 254
make[1]: *** [CMakeFiles/util.dir/all] Error 2
make: *** [all] Error 2

Complete NSDarwinBundle impl

  • Commit the patch for GNUstep's NSBundle that has already been approved.
  • Support -pathForAuxiliaryExecutable (MacOS/...)
  • Support -executablePath (MacOS/...)
  • ...?

IOKit: support eth iface querying

What needs to be done:

  • Return the correct class instance in io_iterator::next().
  • Implement an ethernet controller/interface hierarchy.

Incorrect bind in 32-bit rar binary

From tizbac (from an e-mail):

if you disassemble the rarosx executable, you'll see that @ 0x7714c inside the jump_table there's a jump to __ZN5ArrayI12LogNameEntryEC1Ev which is correct. When the executable is loaded with dyld, it tries to replace that jumptable entry with the correct address, but instead of placing a jump like it should, it just puts the address in place of the jump , generating garbage instructions and obvously crash because it reaches other entries on the jump table

Starting program: /usr/local/bin/dyld rar [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". /home/tiziano/rarosx/rar/rar.11121.log Registering init func 0x5ff80 from rar Registering init func 0x5ff84 from rar Hardware watchpoint 1: *0x0007714c

Old value = -185273100
New value = 343824
MachOLoader::doBind (this=0x80efa70, binds=..., slide=0, resolveLazy=true) at /home/build/darling2/src/dyld/MachOLoader.cpp:375 375 /home/build/darling2/src/dyld/MachOLoader.cpp: No such file or directory. (gdb) bt #0 MachOLoader::doBind (this=0x80efa70, binds=..., slide=0, resolveLazy=true) at /home/build/darling2/src/dyld/MachOLoader.cpp:375 #1 0x08095259 in MachOLoader::doPendingBinds (this=0x80efa70) at /home/build/darling2/src/dyld/MachOLoader.cpp:582 #2 0x080957c9 in MachOLoader::run (this=0x80efa70, mach=..., argc=1, argv=0xffffd0d8, envp=0xffffd0e0, bindLazy=true) at /home/build/darling2/src/dyld/MachOLoader.cpp:644 #3 0x080b979d in main (argc=2, argv=0xffffd0d4, envp=0xffffd0e0) at /home/build/darling2/src/dyld/dyld.cpp:152 (gdb) p bind->is_ is_classic is_lazy is_weak (gdb) p bind->is_classic $3 = true (gdb) p bind->value $4 = 1791001706256 (gdb) p ptr $5 = (uintptr_t ) 0x7714c (gdb) p (void)(bind->value ) warning: value truncated $6 = (void ) 0x53f10 (gdb) p (void)(*0x7714c) $7 = (void *) 0x53f10 (gdb)

0x7714c instead should contain 0xE9BFCDFDFF

memory leak in src/dyld/dyld-multilib.c

I found a memory leak in src/dyld/dyld-multilib.c. Please review the attached patch:

diff --git a/src/dyld/dyld-multilib.c b/src/dyld/dyld-multilib.c
index 2b9fa62..ca49dd1 100644
--- a/src/dyld/dyld-multilib.c
+++ b/src/dyld/dyld-multilib.c
@@ -88,7 +88,10 @@ const char* decideFat(int fd, bool swapEndian)
        archs = (struct fat_arch*) malloc(bytes);

        if (read(fd, archs, bytes) != bytes)
+       {
+               free(archs);
                return "64";
+       }

        for (uint32_t i = 0; i < nArchs; i++)
        {

Best regards and many thanks

Martin Ettl

[gnustep-corebase] - compiliation errors on Ubuntu

I get this when trying to compile it on Ubuntu raring:

(raring)thopiekar@home:/mnt/gnustep-corebase$ OBJCFLAGS=-fblocks CC=clang CXX=clang++ ./configure
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for ANSI C header files... (cached) yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for ptrdiff_t... yes
checking whether byte ordering is bigendian... no
checking size of void *... 8
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for floor... no
checking for getcwd... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for modf... yes
checking for pow... no
checking for rmdir... yes
checking for strncasecmp... yes
checking for gnustep-config... /usr/bin/gnustep-config
checking for icu-config... /usr/bin/icu-config
checking for ICU 4.0 or later... yes
checking unicode/uloc.h usability... yes
checking unicode/uloc.h presence... yes
checking for unicode/uloc.h... yes
checking unicode/ulocdata.h usability... yes
checking unicode/ulocdata.h presence... yes
checking for unicode/ulocdata.h... yes
checking unicode/ucol.h usability... yes
checking unicode/ucol.h presence... yes
checking for unicode/ucol.h... yes
checking unicode/ucurr.h usability... yes
checking unicode/ucurr.h presence... yes
checking for unicode/ucurr.h... yes
checking unicode/ucal.h usability... yes
checking unicode/ucal.h presence... yes
checking for unicode/ucal.h... yes
checking unicode/unum.h usability... yes
checking unicode/unum.h presence... yes
checking for unicode/unum.h... yes
checking unicode/udat.h usability... yes
checking unicode/udat.h presence... yes
checking for unicode/udat.h... yes
checking unicode/udatpg.h usability... yes
checking unicode/udatpg.h presence... yes
checking for unicode/udatpg.h... yes
checking unicode/usearch.h usability... yes
checking unicode/usearch.h presence... yes
checking for unicode/usearch.h... yes
checking zoneinfo directory... /usr/share/zoneinfo
configure: creating ./config.status
config.status: creating Source/GNUmakefile
config.status: creating Source/config.h
config.status: Source/config.h is unchanged
(raring)thopiekar@home:/mnt/gnustep-corebase$ make 
This is gnustep-make 2.6.2. Type 'make print-gnustep-make-help' for help.
Making all in Source ...
Making all for library libgnustep-corebase...
 Compiling file CFArray.c ...
 Compiling file CFAttributedString.c ...
 Compiling file CFBag.c ...
 Compiling file CFBase.c ...
 Compiling file CFBinaryHeap.c ...
 Compiling file CFBitVector.c ...
 Compiling file CFCalendar.c ...
 Compiling file CFCharacterSet.c ...
 Compiling file CFData.c ...
 Compiling file CFDate.c ...
 Compiling file CFDateFormatter.c ...
 Compiling file CFDictionary.c ...
 Compiling file CFError.c ...
 Compiling file CFLocale.c ...
 Compiling file CFNumber.c ...
 Compiling file CFNumberFormatter.c ...
 Compiling file CFPropertyList.c ...
 Compiling file CFRunLoop.c ...
CFRunLoop.c: In function 'CFRunLoopCommonModesContain':
CFRunLoop.c:619:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
   Boolean ret;
           ^
CFRunLoop.c: In function 'CFRunLoopAddSource_nolock':
CFRunLoop.c:461:17: warning: 'sources' may be used uninitialized in this function [-Wmaybe-uninitialized]
   CFSetAddValue (sources, source);
                 ^
 Compiling file CFRuntime.c ...
 Compiling file CFSet.c ...
 Compiling file CFSocket.c ...
 Compiling file CFStream.c ...
 Compiling file CFString.c ...
 Compiling file CFStringEncoding.c ...
CFStringEncoding.c: In function 'GSStringEncodingFromUnicode':
CFStringEncoding.c:1120:16: warning: variable 'dst' set but not used [-Wunused-but-set-variable]
       UniChar *dst;
                ^
CFStringEncoding.c: At top level:
CFStringEncoding.c:960:1: warning: 'GSStringEncodingToNonLossyASCII' defined but not used [-Wunused-function]
 GSStringEncodingToNonLossyASCII (char *d, CFIndex dlen, const UniChar *s,
 ^
CFStringEncoding.c:1028:1: warning: 'GSStringEncodingFromNonLossyASCII' defined but not used [-Wunused-function]
 GSStringEncodingFromNonLossyASCII (UniChar *d, CFIndex dlen, const char *s,
 ^
CFStringEncoding.c: In function 'GSStringEncodingFromUnicode':
CFStringEncoding.c:1101:11: warning: 'converted' may be used uninitialized in this function [-Wmaybe-uninitialized]
   CFIndex converted;
           ^
CFStringEncoding.c: In function 'GSStringEncodingToUnicode':
CFStringEncoding.c:1322:3: warning: 'converted' may be used uninitialized in this function [-Wmaybe-uninitialized]
   return converted;
   ^
 Compiling file CFStringFormat.c ...
 Compiling file CFStringUtilities.c ...
 Compiling file CFTimeZone.c ...
 Compiling file CFTree.c ...
 Compiling file CFURL.c ...
CFURL.c: In function 'CFURLAppendPercentEscapedForCharacter':
CFURL.c:1397:7: warning: pointer targets in passing argument 2 of 'GSStringEncodingFromUnicode' differ in signedness [-Wpointer-sign]
       GSStringEncodingFromUnicode(enc, buffer, 8, source, 1, 0, false, NULL)))
       ^
In file included from CFURL.c:38:0:
GSPrivate.h:282:1: note: expected 'UInt8 *' but argument is of type 'char *'
 GSStringEncodingFromUnicode (CFStringEncoding encoding, UInt8 *dst,
 ^
CFURL.c: In function 'CFURLCharacterForPercentEscape':
CFURL.c:1568:5: warning: pointer targets in passing argument 4 of 'GSStringEncodingToUnicode' differ in signedness [-Wpointer-sign]
     false, NULL);
     ^
In file included from CFURL.c:38:0:
GSPrivate.h:293:1: note: expected 'const UInt8 *' but argument is of type 'const char *'
 GSStringEncodingToUnicode (CFStringEncoding encoding, UniChar *dst,
 ^
 Compiling file CFURLAccess.c ...
 Compiling file CFUUID.c ...
 Compiling file CFXMLNode.c ...
 Compiling file CFXMLParser.c ...
 Compiling file GSFunctions.c ...
 Compiling file GSHashTable.c ...
 Compiling file CFBundle.m ...
 Compiling file NSCFArray.m ...
 Compiling file NSCFData.m ...
 Compiling file NSCFError.m ...
NSCFError.m: In function '-[NSCFError userInfo]':
NSCFError.m:95:3: warning: @interface of class 'NSDictionary' not found [enabled by default]
   return AUTORELEASE(CFErrorCopyUserInfo (self));
   ^
 Compiling file NSCFString.m ...
 Compiling file NSCFType.m ...
NSCFType.m:95:1: warning: method possibly missing a [super dealloc] call [enabled by default]
 }
 ^
 Compiling file NSCFNumber.m ...
NSCFNumber.m: In function '-[NSCFNumber objCType]':
NSCFNumber.m:273:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
 Compiling file NSCFLocale.m ...
 Compiling file NSCFCalendar.m ...
NSCFCalendar.m: In function '-[NSCFCalendar timeZone]':
NSCFCalendar.m:194:3: warning: @interface of class 'NSTimeZone' not found [enabled by default]
   return AUTORELEASE(tz);
   ^
NSCFCalendar.m: In function '-[NSCalendar(CoreBaseAdditions) _cfGetComponentDifference:::::]':
NSCFCalendar.m:423:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
NSCFCalendar.m: In function '-[NSCalendar(CoreBaseAdditions) _cfDecomposeAbsoluteTime:::]':
NSCFCalendar.m:458:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
NSCFCalendar.m: In function '-[NSCalendar(CoreBaseAdditions) _cfComposeAbsoluteTime:::]':
NSCFCalendar.m:465:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
NSCFCalendar.m: In function '-[NSCalendar(CoreBaseAdditions) _cfAddComponents::::]':
NSCFCalendar.m:473:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
 Compiling file NSCFSet.m ...
 Compiling file NSCFTimeZone.m ...
NSCFTimeZone.m: In function '-[NSCFTimeZone abbreviationForDate:]':
NSCFTimeZone.m:101:3: warning: @interface of class 'NSString' not found [enabled by default]
   AUTORELEASE(abbr);
   ^
NSCFTimeZone.m: In function '-[NSCFTimeZone localizedName:locale:]':
NSCFTimeZone.m:114:3: warning: @interface of class 'NSString' not found [enabled by default]
   AUTORELEASE(str);
   ^
NSCFTimeZone.m: In function '-[NSTimeZone(CoreBaseAdditions) _cfCopyAbbreviation:]':
NSCFTimeZone.m:167:3: warning: 'NSTimeZone' may not respond to '-abbreviationForDate:' [enabled by default]
   abbr = [self abbreviationForDate: date];
   ^
NSCFTimeZone.m:167:3: warning: (Messages without a matching method signature [enabled by default]
NSCFTimeZone.m:167:3: warning: will be assumed to return 'id' and accept [enabled by default]
NSCFTimeZone.m:167:3: warning: '...' as arguments.) [enabled by default]
NSCFTimeZone.m:168:3: warning: @interface of class 'NSString' not found [enabled by default]
   RETAIN(abbr);
   ^
NSCFTimeZone.m: In function '-[NSTimeZone(CoreBaseAdditions) _cfIsDaylightSavingTime:]':
NSCFTimeZone.m:190:3: warning: 'NSTimeZone' may not respond to '-isDaylightSavingTimeForDate:' [enabled by default]
   return [self isDaylightSavingTimeForDate: date];
   ^
NSCFTimeZone.m:190:3: warning: return makes integer from pointer without a cast [enabled by default]
NSCFTimeZone.m: In function '-[NSTimeZone(CoreBaseAdditions) _cfGetSecondsFromGMT:]':
NSCFTimeZone.m:200:3: warning: 'NSTimeZone' may not respond to '-secondsFromGMTForDate:' [enabled by default]
   return [self secondsFromGMTForDate: date];
   ^
NSCFTimeZone.m:200:3: error: incompatible types when returning type 'id' but 'NSTimeInterval' was expected
NSCFTimeZone.m:201:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make[4]: *** [obj/libgnustep-corebase.obj/NSCFTimeZone.m.o] Error 1
make[3]: *** [internal-library-all_] Error 2
make[2]: *** [libgnustep-corebase.all.library.variables] Error 2
make[1]: *** [internal-all] Error 2
make: *** [internal-all] Error 2
ยดยดยด

Getting no output and even no seg.fault when executing as root

As I built darling for Ubuntu I started playing with Xcode.
I installed it on a real OSX system and copied the *.app folder to my Linux installation.

Now I just wanted to take a look on g++.. Somehow, when I execute it as user I get a Seg.-fault message (german, here) and when I execute it as root I get nothing..

Depending on #47 I use an older code - hope I get feedback on this issue soon :)

[...]/Xcode.app/Contents/Developer/usr/bin$ dyld g++
Speicherzugriffsfehler (Speicherabzug geschrieben)
[...]/Xcode.app/Contents/Developer/usr/bin$ sudo dyld g++
[...]/Xcode.app/Contents/Developer/usr/bin$ sudo dyld g++ --help

with debug enabled:

/Xcode.app/Contents/Developer/usr/bin$ DYLD_DEBUG=+debug dyld g++
magic=feedfacf cpu=16777223 cpusub=-2147483645 filetype=2 ncmds=15 sizeofcmds=2000 flags=200085
loader command type=19
segment __PAGEZERO: vmaddr=0 vmsize=100000000 file_offset=0 file_size=0 maxprot=0 init_prot=0 nsects=0 flags=0
loader command type=19
segment __TEXT: vmaddr=100000000 vmsize=b000 file_offset=0 file_size=b000 maxprot=7 init_prot=5 nsects=7 flags=0
section __text in __TEXT: addr=0x100001120 size=7e44 offset=1120 align=4 reloff=0 nreloc=0 flags=80000400 reserved1=0 reserved2=0
section __stubs in __TEXT: addr=0x100008f64 size=16e offset=8f64 align=1 reloff=0 nreloc=0 flags=80000408 reserved1=0 reserved2=6
section __stub_helper in __TEXT: addr=0x1000090d4 size=272 offset=90d4 align=2 reloff=0 nreloc=0 flags=80000400 reserved1=0 reserved2=0
section __cstring in __TEXT: addr=0x100009348 size=b83 offset=9348 align=3 reloff=0 nreloc=0 flags=2 reserved1=0 reserved2=0
Section __cstring in __TEXT not handled with type 2
section __const in __TEXT: addr=0x100009ecc size=7 offset=9ecc align=2 reloff=0 nreloc=0 flags=0 reserved1=0 reserved2=0
section __unwind_info in __TEXT: addr=0x100009ed3 size=ec offset=9ed3 align=0 reloff=0 nreloc=0 flags=0 reserved1=0 reserved2=0
section __eh_frame in __TEXT: addr=0x100009fc0 size=1038 offset=9fc0 align=3 reloff=0 nreloc=0 flags=0 reserved1=0 reserved2=0
loader command type=19
segment __DATA: vmaddr=10000b000 vmsize=1000 file_offset=b000 file_size=1000 maxprot=7 init_prot=3 nsects=8 flags=0
section __program_vars in __DATA: addr=0x10000b000 size=28 offset=b000 align=3 reloff=0 nreloc=0 flags=0 reserved1=0 reserved2=0
section __got in __DATA: addr=0x10000b028 size=18 offset=b028 align=3 reloff=0 nreloc=0 flags=6 reserved1=3d reserved2=0
section __nl_symbol_ptr in __DATA: addr=0x10000b040 size=10 offset=b040 align=3 reloff=0 nreloc=0 flags=6 reserved1=40 reserved2=0
section __la_symbol_ptr in __DATA: addr=0x10000b050 size=1e8 offset=b050 align=3 reloff=0 nreloc=0 flags=7 reserved1=42 reserved2=0
section __data in __DATA: addr=0x10000b240 size=e0 offset=b240 align=5 reloff=0 nreloc=0 flags=0 reserved1=0 reserved2=0
section __const in __DATA: addr=0x10000b320 size=48 offset=b320 align=5 reloff=0 nreloc=0 flags=0 reserved1=0 reserved2=0
section __common in __DATA: addr=0x10000b380 size=228 offset=0 align=5 reloff=0 nreloc=0 flags=1 reserved1=0 reserved2=0
Section __common in __DATA not handled with type 1
section __bss in __DATA: addr=0x10000b5c0 size=6b offset=0 align=5 reloff=0 nreloc=0 flags=1 reserved1=0 reserved2=0
Section __bss in __DATA not handled with type 1
loader command type=19
segment __LINKEDIT: vmaddr=10000c000 vmsize=3000 file_offset=c000 file_size=29b0 maxprot=7 init_prot=1 nsects=0 flags=0
loader command type=80000022
dyld info: rebase_off=49152 rebase_size=16 bind_off=49168 bind_size=72 weak_bind_off=0 weak_bind_size=0 lazy_bind_off=49240 lazy_bind_size=1000 export_off=50240 export_size=1672
add rebase! seg_index=2 seg_offset=0 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=8 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=16 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=24 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=32 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=80 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=88 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=96 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=104 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=112 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=120 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=128 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=136 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=144 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=152 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=160 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=168 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=176 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=184 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=192 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=200 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=208 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=216 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=224 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=232 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=240 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=248 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=256 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=264 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=272 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=280 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=288 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=296 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=304 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=312 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=320 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=328 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=336 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=344 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=352 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=360 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=368 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=376 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=384 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=392 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=400 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=408 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=416 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=424 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=432 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=440 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=448 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=456 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=464 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=472 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=480 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=488 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=496 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=504 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=512 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=520 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=528 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=536 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=544 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=552 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=560 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=576 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=608 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=616 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=624 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=632 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=640 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=648 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=656 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=664 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=672 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=680 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=688 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=696 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=704 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=712 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=720 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=728 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=736 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=744 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=752 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=760 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=792 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=800 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=808 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=816 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=824 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=832 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=840 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=848 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=856 type=1 vmaddr=0x10000b000
add rebase! seg_index=2 seg_offset=864 type=1 vmaddr=0x10000b000
bind: op=10 imm=1 @0x7f6a3112b010, bindsStart at 0x7f6a3112b010
bind: op=40 imm=0 @0x7f6a3112b011, bindsStart at 0x7f6a3112b010
sym_name=___stack_chk_guard
bind: op=50 imm=1 @0x7f6a3112b025, bindsStart at 0x7f6a3112b010
bind: op=70 imm=2 @0x7f6a3112b026, bindsStart at 0x7f6a3112b010
bind: op=90 imm=0 @0x7f6a3112b028, bindsStart at 0x7f6a3112b010
add bind! ___stack_chk_guard seg_index=2 seg_offset=40 type=1 ordinal=1 addend=0 vmaddr=0x10000b028 is_weak=0
bind: op=40 imm=0 @0x7f6a3112b029, bindsStart at 0x7f6a3112b010
sym_name=___stderrp
bind: op=90 imm=0 @0x7f6a3112b035, bindsStart at 0x7f6a3112b010
add bind! ___stderrp seg_index=2 seg_offset=48 type=1 ordinal=1 addend=0 vmaddr=0x10000b030 is_weak=0
bind: op=40 imm=0 @0x7f6a3112b036, bindsStart at 0x7f6a3112b010
sym_name=___stdoutp
bind: op=90 imm=0 @0x7f6a3112b042, bindsStart at 0x7f6a3112b010
add bind! ___stdoutp seg_index=2 seg_offset=56 type=1 ordinal=1 addend=0 vmaddr=0x10000b038 is_weak=0
bind: op=40 imm=0 @0x7f6a3112b043, bindsStart at 0x7f6a3112b010
sym_name=dyld_stub_binder
bind: op=90 imm=0 @0x7f6a3112b055, bindsStart at 0x7f6a3112b010
add bind! dyld_stub_binder seg_index=2 seg_offset=64 type=1 ordinal=1 addend=0 vmaddr=0x10000b040 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b056, bindsStart at 0x7f6a3112b010
bind: op=0 imm=0 @0x7f6a3112b057, bindsStart at 0x7f6a3112b010
Lazy bindings start at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b058, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b05a, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b05b, bindsStart at 0x7f6a3112b058
sym_name=_NXGetAllArchInfos
bind: op=90 imm=0 @0x7f6a3112b06f, bindsStart at 0x7f6a3112b058
add bind! _NXGetAllArchInfos seg_index=2 seg_offset=80 type=1 ordinal=1 addend=0 vmaddr=0x10000b050 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b070, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b071, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b073, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b074, bindsStart at 0x7f6a3112b058
sym_name=_NXGetArchInfoFromName
bind: op=90 imm=0 @0x7f6a3112b08c, bindsStart at 0x7f6a3112b058
add bind! _NXGetArchInfoFromName seg_index=2 seg_offset=88 type=1 ordinal=1 addend=0 vmaddr=0x10000b058 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b08d, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b08e, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b090, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b091, bindsStart at 0x7f6a3112b058
sym_name=_NXGetLocalArchInfo
bind: op=90 imm=0 @0x7f6a3112b0a6, bindsStart at 0x7f6a3112b058
add bind! _NXGetLocalArchInfo seg_index=2 seg_offset=96 type=1 ordinal=1 addend=0 vmaddr=0x10000b060 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b0a7, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b0a8, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b0aa, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b0ab, bindsStart at 0x7f6a3112b058
sym_name=___bzero
bind: op=90 imm=0 @0x7f6a3112b0b5, bindsStart at 0x7f6a3112b058
add bind! ___bzero seg_index=2 seg_offset=104 type=1 ordinal=1 addend=0 vmaddr=0x10000b068 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b0b6, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b0b7, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b0b9, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b0ba, bindsStart at 0x7f6a3112b058
sym_name=___error
bind: op=90 imm=0 @0x7f6a3112b0c4, bindsStart at 0x7f6a3112b058
add bind! ___error seg_index=2 seg_offset=112 type=1 ordinal=1 addend=0 vmaddr=0x10000b070 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b0c5, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b0c6, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b0c8, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b0c9, bindsStart at 0x7f6a3112b058
sym_name=___memcpy_chk
bind: op=90 imm=0 @0x7f6a3112b0d8, bindsStart at 0x7f6a3112b058
add bind! ___memcpy_chk seg_index=2 seg_offset=120 type=1 ordinal=1 addend=0 vmaddr=0x10000b078 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b0d9, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b0da, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b0dd, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b0de, bindsStart at 0x7f6a3112b058
sym_name=___memmove_chk
bind: op=90 imm=0 @0x7f6a3112b0ee, bindsStart at 0x7f6a3112b058
add bind! ___memmove_chk seg_index=2 seg_offset=128 type=1 ordinal=1 addend=0 vmaddr=0x10000b080 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b0ef, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b0f0, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b0f3, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b0f4, bindsStart at 0x7f6a3112b058
sym_name=___sprintf_chk
bind: op=90 imm=0 @0x7f6a3112b104, bindsStart at 0x7f6a3112b058
add bind! ___sprintf_chk seg_index=2 seg_offset=136 type=1 ordinal=1 addend=0 vmaddr=0x10000b088 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b105, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b106, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b109, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b10a, bindsStart at 0x7f6a3112b058
sym_name=___stack_chk_fail
bind: op=90 imm=0 @0x7f6a3112b11d, bindsStart at 0x7f6a3112b058
add bind! ___stack_chk_fail seg_index=2 seg_offset=144 type=1 ordinal=1 addend=0 vmaddr=0x10000b090 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b11e, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b11f, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b122, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b123, bindsStart at 0x7f6a3112b058
sym_name=___strcat_chk
bind: op=90 imm=0 @0x7f6a3112b132, bindsStart at 0x7f6a3112b058
add bind! ___strcat_chk seg_index=2 seg_offset=152 type=1 ordinal=1 addend=0 vmaddr=0x10000b098 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b133, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b134, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b137, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b138, bindsStart at 0x7f6a3112b058
sym_name=___strcpy_chk
bind: op=90 imm=0 @0x7f6a3112b147, bindsStart at 0x7f6a3112b058
add bind! ___strcpy_chk seg_index=2 seg_offset=160 type=1 ordinal=1 addend=0 vmaddr=0x10000b0a0 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b148, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b149, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b14c, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b14d, bindsStart at 0x7f6a3112b058
sym_name=___strncpy_chk
bind: op=90 imm=0 @0x7f6a3112b15d, bindsStart at 0x7f6a3112b058
add bind! ___strncpy_chk seg_index=2 seg_offset=168 type=1 ordinal=1 addend=0 vmaddr=0x10000b0a8 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b15e, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b15f, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b162, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b163, bindsStart at 0x7f6a3112b058
sym_name=__exit
bind: op=90 imm=0 @0x7f6a3112b16b, bindsStart at 0x7f6a3112b058
add bind! __exit seg_index=2 seg_offset=176 type=1 ordinal=1 addend=0 vmaddr=0x10000b0b0 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b16c, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b16d, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b170, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b171, bindsStart at 0x7f6a3112b058
sym_name=_abort
bind: op=90 imm=0 @0x7f6a3112b179, bindsStart at 0x7f6a3112b058
add bind! _abort seg_index=2 seg_offset=184 type=1 ordinal=1 addend=0 vmaddr=0x10000b0b8 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b17a, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b17b, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b17e, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b17f, bindsStart at 0x7f6a3112b058
sym_name=_access
bind: op=90 imm=0 @0x7f6a3112b188, bindsStart at 0x7f6a3112b058
add bind! _access seg_index=2 seg_offset=192 type=1 ordinal=1 addend=0 vmaddr=0x10000b0c0 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b189, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b18a, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b18d, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b18e, bindsStart at 0x7f6a3112b058
sym_name=_calloc
bind: op=90 imm=0 @0x7f6a3112b197, bindsStart at 0x7f6a3112b058
add bind! _calloc seg_index=2 seg_offset=200 type=1 ordinal=1 addend=0 vmaddr=0x10000b0c8 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b198, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b199, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b19c, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b19d, bindsStart at 0x7f6a3112b058
sym_name=_close
bind: op=90 imm=0 @0x7f6a3112b1a5, bindsStart at 0x7f6a3112b058
add bind! _close seg_index=2 seg_offset=208 type=1 ordinal=1 addend=0 vmaddr=0x10000b0d0 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b1a6, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b1a7, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b1aa, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b1ab, bindsStart at 0x7f6a3112b058
sym_name=_dup2
bind: op=90 imm=0 @0x7f6a3112b1b2, bindsStart at 0x7f6a3112b058
add bind! _dup2 seg_index=2 seg_offset=216 type=1 ordinal=1 addend=0 vmaddr=0x10000b0d8 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b1b3, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b1b4, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b1b7, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b1b8, bindsStart at 0x7f6a3112b058
sym_name=_execv
bind: op=90 imm=0 @0x7f6a3112b1c0, bindsStart at 0x7f6a3112b058
add bind! _execv seg_index=2 seg_offset=224 type=1 ordinal=1 addend=0 vmaddr=0x10000b0e0 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b1c1, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b1c2, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b1c5, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b1c6, bindsStart at 0x7f6a3112b058
sym_name=_execvp
bind: op=90 imm=0 @0x7f6a3112b1cf, bindsStart at 0x7f6a3112b058
add bind! _execvp seg_index=2 seg_offset=232 type=1 ordinal=1 addend=0 vmaddr=0x10000b0e8 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b1d0, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b1d1, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b1d4, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b1d5, bindsStart at 0x7f6a3112b058
sym_name=_exit
bind: op=90 imm=0 @0x7f6a3112b1dc, bindsStart at 0x7f6a3112b058
add bind! _exit seg_index=2 seg_offset=240 type=1 ordinal=1 addend=0 vmaddr=0x10000b0f0 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b1dd, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b1de, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b1e1, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b1e2, bindsStart at 0x7f6a3112b058
sym_name=_fclose
bind: op=90 imm=0 @0x7f6a3112b1eb, bindsStart at 0x7f6a3112b058
add bind! _fclose seg_index=2 seg_offset=248 type=1 ordinal=1 addend=0 vmaddr=0x10000b0f8 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b1ec, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b1ed, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b1f0, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b1f1, bindsStart at 0x7f6a3112b058
sym_name=_fcntl
bind: op=90 imm=0 @0x7f6a3112b1f9, bindsStart at 0x7f6a3112b058
add bind! _fcntl seg_index=2 seg_offset=256 type=1 ordinal=1 addend=0 vmaddr=0x10000b100 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b1fa, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b1fb, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b1fe, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b1ff, bindsStart at 0x7f6a3112b058
sym_name=_fdopen
bind: op=90 imm=0 @0x7f6a3112b208, bindsStart at 0x7f6a3112b058
add bind! _fdopen seg_index=2 seg_offset=264 type=1 ordinal=1 addend=0 vmaddr=0x10000b108 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b209, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b20a, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b20d, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b20e, bindsStart at 0x7f6a3112b058
sym_name=_fflush
bind: op=90 imm=0 @0x7f6a3112b217, bindsStart at 0x7f6a3112b058
add bind! _fflush seg_index=2 seg_offset=272 type=1 ordinal=1 addend=0 vmaddr=0x10000b110 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b218, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b219, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b21c, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b21d, bindsStart at 0x7f6a3112b058
sym_name=_fopen
bind: op=90 imm=0 @0x7f6a3112b225, bindsStart at 0x7f6a3112b058
add bind! _fopen seg_index=2 seg_offset=280 type=1 ordinal=1 addend=0 vmaddr=0x10000b118 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b226, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b227, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b22a, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b22b, bindsStart at 0x7f6a3112b058
sym_name=_fprintf
bind: op=90 imm=0 @0x7f6a3112b235, bindsStart at 0x7f6a3112b058
add bind! _fprintf seg_index=2 seg_offset=288 type=1 ordinal=1 addend=0 vmaddr=0x10000b120 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b236, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b237, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b23a, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b23b, bindsStart at 0x7f6a3112b058
sym_name=_fputc
bind: op=90 imm=0 @0x7f6a3112b243, bindsStart at 0x7f6a3112b058
add bind! _fputc seg_index=2 seg_offset=296 type=1 ordinal=1 addend=0 vmaddr=0x10000b128 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b244, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b245, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b248, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b249, bindsStart at 0x7f6a3112b058
sym_name=_fputs
bind: op=90 imm=0 @0x7f6a3112b251, bindsStart at 0x7f6a3112b058
add bind! _fputs seg_index=2 seg_offset=304 type=1 ordinal=1 addend=0 vmaddr=0x10000b130 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b252, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b253, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b256, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b257, bindsStart at 0x7f6a3112b058
sym_name=_free
bind: op=90 imm=0 @0x7f6a3112b25e, bindsStart at 0x7f6a3112b058
add bind! _free seg_index=2 seg_offset=312 type=1 ordinal=1 addend=0 vmaddr=0x10000b138 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b25f, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b260, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b263, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b264, bindsStart at 0x7f6a3112b058
sym_name=_fwrite
bind: op=90 imm=0 @0x7f6a3112b26d, bindsStart at 0x7f6a3112b058
add bind! _fwrite seg_index=2 seg_offset=320 type=1 ordinal=1 addend=0 vmaddr=0x10000b140 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b26e, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b26f, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b272, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b273, bindsStart at 0x7f6a3112b058
sym_name=_getenv
bind: op=90 imm=0 @0x7f6a3112b27c, bindsStart at 0x7f6a3112b058
add bind! _getenv seg_index=2 seg_offset=328 type=1 ordinal=1 addend=0 vmaddr=0x10000b148 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b27d, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b27e, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b281, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b282, bindsStart at 0x7f6a3112b058
sym_name=_kill
bind: op=90 imm=0 @0x7f6a3112b289, bindsStart at 0x7f6a3112b058
add bind! _kill seg_index=2 seg_offset=336 type=1 ordinal=1 addend=0 vmaddr=0x10000b150 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b28a, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b28b, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b28e, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b28f, bindsStart at 0x7f6a3112b058
sym_name=_malloc
bind: op=90 imm=0 @0x7f6a3112b298, bindsStart at 0x7f6a3112b058
add bind! _malloc seg_index=2 seg_offset=344 type=1 ordinal=1 addend=0 vmaddr=0x10000b158 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b299, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b29a, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b29d, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b29e, bindsStart at 0x7f6a3112b058
sym_name=_memcpy
bind: op=90 imm=0 @0x7f6a3112b2a7, bindsStart at 0x7f6a3112b058
add bind! _memcpy seg_index=2 seg_offset=352 type=1 ordinal=1 addend=0 vmaddr=0x10000b160 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b2a8, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b2a9, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b2ac, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b2ad, bindsStart at 0x7f6a3112b058
sym_name=_mkstemps
bind: op=90 imm=0 @0x7f6a3112b2b8, bindsStart at 0x7f6a3112b058
add bind! _mkstemps seg_index=2 seg_offset=360 type=1 ordinal=1 addend=0 vmaddr=0x10000b168 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b2b9, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b2ba, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b2bd, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b2be, bindsStart at 0x7f6a3112b058
sym_name=_open
bind: op=90 imm=0 @0x7f6a3112b2c5, bindsStart at 0x7f6a3112b058
add bind! _open seg_index=2 seg_offset=368 type=1 ordinal=1 addend=0 vmaddr=0x10000b170 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b2c6, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b2c7, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b2ca, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b2cb, bindsStart at 0x7f6a3112b058
sym_name=_pipe
bind: op=90 imm=0 @0x7f6a3112b2d2, bindsStart at 0x7f6a3112b058
add bind! _pipe seg_index=2 seg_offset=376 type=1 ordinal=1 addend=0 vmaddr=0x10000b178 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b2d3, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b2d4, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b2d7, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b2d8, bindsStart at 0x7f6a3112b058
sym_name=_readlink
bind: op=90 imm=0 @0x7f6a3112b2e3, bindsStart at 0x7f6a3112b058
add bind! _readlink seg_index=2 seg_offset=384 type=1 ordinal=1 addend=0 vmaddr=0x10000b180 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b2e4, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b2e5, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b2e8, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b2e9, bindsStart at 0x7f6a3112b058
sym_name=_realloc
bind: op=90 imm=0 @0x7f6a3112b2f3, bindsStart at 0x7f6a3112b058
add bind! _realloc seg_index=2 seg_offset=392 type=1 ordinal=1 addend=0 vmaddr=0x10000b188 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b2f4, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b2f5, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b2f8, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b2f9, bindsStart at 0x7f6a3112b058
sym_name=_regcomp
bind: op=90 imm=0 @0x7f6a3112b303, bindsStart at 0x7f6a3112b058
add bind! _regcomp seg_index=2 seg_offset=400 type=1 ordinal=1 addend=0 vmaddr=0x10000b190 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b304, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b305, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b308, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b309, bindsStart at 0x7f6a3112b058
sym_name=_regerror
bind: op=90 imm=0 @0x7f6a3112b314, bindsStart at 0x7f6a3112b058
add bind! _regerror seg_index=2 seg_offset=408 type=1 ordinal=1 addend=0 vmaddr=0x10000b198 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b315, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b316, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b319, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b31a, bindsStart at 0x7f6a3112b058
sym_name=_regexec
bind: op=90 imm=0 @0x7f6a3112b324, bindsStart at 0x7f6a3112b058
add bind! _regexec seg_index=2 seg_offset=416 type=1 ordinal=1 addend=0 vmaddr=0x10000b1a0 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b325, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b326, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b329, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b32a, bindsStart at 0x7f6a3112b058
sym_name=_regfree
bind: op=90 imm=0 @0x7f6a3112b334, bindsStart at 0x7f6a3112b058
add bind! _regfree seg_index=2 seg_offset=424 type=1 ordinal=1 addend=0 vmaddr=0x10000b1a8 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b335, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b336, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b339, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b33a, bindsStart at 0x7f6a3112b058
sym_name=_remove
bind: op=90 imm=0 @0x7f6a3112b343, bindsStart at 0x7f6a3112b058
add bind! _remove seg_index=2 seg_offset=432 type=1 ordinal=1 addend=0 vmaddr=0x10000b1b0 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b344, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b345, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b348, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b349, bindsStart at 0x7f6a3112b058
sym_name=_sbrk
bind: op=90 imm=0 @0x7f6a3112b350, bindsStart at 0x7f6a3112b058
add bind! _sbrk seg_index=2 seg_offset=440 type=1 ordinal=1 addend=0 vmaddr=0x10000b1b8 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b351, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b352, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b355, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b356, bindsStart at 0x7f6a3112b058
sym_name=_sleep
bind: op=90 imm=0 @0x7f6a3112b35e, bindsStart at 0x7f6a3112b058
add bind! _sleep seg_index=2 seg_offset=448 type=1 ordinal=1 addend=0 vmaddr=0x10000b1c0 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b35f, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b360, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b363, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b364, bindsStart at 0x7f6a3112b058
sym_name=_stat$INODE64
bind: op=90 imm=0 @0x7f6a3112b373, bindsStart at 0x7f6a3112b058
add bind! _stat$INODE64 seg_index=2 seg_offset=456 type=1 ordinal=1 addend=0 vmaddr=0x10000b1c8 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b374, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b375, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b378, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b379, bindsStart at 0x7f6a3112b058
sym_name=_strchr
bind: op=90 imm=0 @0x7f6a3112b382, bindsStart at 0x7f6a3112b058
add bind! _strchr seg_index=2 seg_offset=464 type=1 ordinal=1 addend=0 vmaddr=0x10000b1d0 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b383, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b384, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b387, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b388, bindsStart at 0x7f6a3112b058
sym_name=_strcmp
bind: op=90 imm=0 @0x7f6a3112b391, bindsStart at 0x7f6a3112b058
add bind! _strcmp seg_index=2 seg_offset=472 type=1 ordinal=1 addend=0 vmaddr=0x10000b1d8 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b392, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b393, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b396, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b397, bindsStart at 0x7f6a3112b058
sym_name=_strcpy
bind: op=90 imm=0 @0x7f6a3112b3a0, bindsStart at 0x7f6a3112b058
add bind! _strcpy seg_index=2 seg_offset=480 type=1 ordinal=1 addend=0 vmaddr=0x10000b1e0 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b3a1, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b3a2, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b3a5, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b3a6, bindsStart at 0x7f6a3112b058
sym_name=_strcspn
bind: op=90 imm=0 @0x7f6a3112b3b0, bindsStart at 0x7f6a3112b058
add bind! _strcspn seg_index=2 seg_offset=488 type=1 ordinal=1 addend=0 vmaddr=0x10000b1e8 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b3b1, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b3b2, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b3b5, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b3b6, bindsStart at 0x7f6a3112b058
sym_name=_strdup
bind: op=90 imm=0 @0x7f6a3112b3bf, bindsStart at 0x7f6a3112b058
add bind! _strdup seg_index=2 seg_offset=496 type=1 ordinal=1 addend=0 vmaddr=0x10000b1f0 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b3c0, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b3c1, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b3c4, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b3c5, bindsStart at 0x7f6a3112b058
sym_name=_strerror
bind: op=90 imm=0 @0x7f6a3112b3d0, bindsStart at 0x7f6a3112b058
add bind! _strerror seg_index=2 seg_offset=504 type=1 ordinal=1 addend=0 vmaddr=0x10000b1f8 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b3d1, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b3d2, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b3d5, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b3d6, bindsStart at 0x7f6a3112b058
sym_name=_strlen
bind: op=90 imm=0 @0x7f6a3112b3df, bindsStart at 0x7f6a3112b058
add bind! _strlen seg_index=2 seg_offset=512 type=1 ordinal=1 addend=0 vmaddr=0x10000b200 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b3e0, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b3e1, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b3e4, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b3e5, bindsStart at 0x7f6a3112b058
sym_name=_unlink
bind: op=90 imm=0 @0x7f6a3112b3ee, bindsStart at 0x7f6a3112b058
add bind! _unlink seg_index=2 seg_offset=520 type=1 ordinal=1 addend=0 vmaddr=0x10000b208 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b3ef, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b3f0, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b3f3, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b3f4, bindsStart at 0x7f6a3112b058
sym_name=_vfork
bind: op=90 imm=0 @0x7f6a3112b3fc, bindsStart at 0x7f6a3112b058
add bind! _vfork seg_index=2 seg_offset=528 type=1 ordinal=1 addend=0 vmaddr=0x10000b210 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b3fd, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b3fe, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b401, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b402, bindsStart at 0x7f6a3112b058
sym_name=_vfprintf
bind: op=90 imm=0 @0x7f6a3112b40d, bindsStart at 0x7f6a3112b058
add bind! _vfprintf seg_index=2 seg_offset=536 type=1 ordinal=1 addend=0 vmaddr=0x10000b218 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b40e, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b40f, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b412, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b413, bindsStart at 0x7f6a3112b058
sym_name=_wait4
bind: op=90 imm=0 @0x7f6a3112b41b, bindsStart at 0x7f6a3112b058
add bind! _wait4 seg_index=2 seg_offset=544 type=1 ordinal=1 addend=0 vmaddr=0x10000b220 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b41c, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b41d, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b420, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b421, bindsStart at 0x7f6a3112b058
sym_name=_waitpid
bind: op=90 imm=0 @0x7f6a3112b42b, bindsStart at 0x7f6a3112b058
add bind! _waitpid seg_index=2 seg_offset=552 type=1 ordinal=1 addend=0 vmaddr=0x10000b228 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b42c, bindsStart at 0x7f6a3112b058
bind: op=70 imm=2 @0x7f6a3112b42d, bindsStart at 0x7f6a3112b058
bind: op=10 imm=1 @0x7f6a3112b430, bindsStart at 0x7f6a3112b058
bind: op=40 imm=0 @0x7f6a3112b431, bindsStart at 0x7f6a3112b058
sym_name=_write
bind: op=90 imm=0 @0x7f6a3112b439, bindsStart at 0x7f6a3112b058
add bind! _write seg_index=2 seg_offset=560 type=1 ordinal=1 addend=0 vmaddr=0x10000b230 is_weak=0
bind: op=0 imm=0 @0x7f6a3112b43a, bindsStart at 0x7f6a3112b058
bind: op=0 imm=0 @0x7f6a3112b43b, bindsStart at 0x7f6a3112b058
bind: op=0 imm=0 @0x7f6a3112b43c, bindsStart at 0x7f6a3112b058
bind: op=0 imm=0 @0x7f6a3112b43d, bindsStart at 0x7f6a3112b058
bind: op=0 imm=0 @0x7f6a3112b43e, bindsStart at 0x7f6a3112b058
bind: op=0 imm=0 @0x7f6a3112b43f, bindsStart at 0x7f6a3112b058
export: __mh_execute_header flags=0 addr=0x100000000
loader command type=2
symoff=52048 nsysm=67 stroff=53628 strsize=680
0 radr://5614542(656) 0x5614542
1 __mh_execute_header(4) 0x100000000
2 _NXGetAllArchInfos(24) (nil)
3 _NXGetArchInfoFromName(43) (nil)
4 _NXGetLocalArchInfo(66) (nil)
5 ___bzero(86) (nil)
6 ___error(95) (nil)
7 ___memcpy_chk(104) (nil)
8 ___memmove_chk(118) (nil)
9 ___sprintf_chk(133) (nil)
10 ___stack_chk_fail(148) (nil)
11 ___stack_chk_guard(166) (nil)
12 ___stderrp(185) (nil)
13 ___stdoutp(196) (nil)
14 ___strcat_chk(207) (nil)
15 ___strcpy_chk(221) (nil)
16 ___strncpy_chk(235) (nil)
17 __exit(250) (nil)
18 _abort(257) (nil)
19 _access(264) (nil)
20 _calloc(272) (nil)
21 _close(280) (nil)
22 _dup2(287) (nil)
23 _execv(293) (nil)
24 _execvp(300) (nil)
25 _exit(308) (nil)
26 _fclose(314) (nil)
27 _fcntl(322) (nil)
28 _fdopen(329) (nil)
29 _fflush(337) (nil)
30 _fopen(345) (nil)
31 _fprintf(352) (nil)
32 _fputc(361) (nil)
33 _fputs(368) (nil)
34 _free(375) (nil)
35 _fwrite(381) (nil)
36 _getenv(389) (nil)
37 _kill(397) (nil)
38 _malloc(403) (nil)
39 _memcpy(411) (nil)
40 _mkstemps(419) (nil)
41 _open(429) (nil)
42 _pipe(435) (nil)
43 _readlink(441) (nil)
44 _realloc(451) (nil)
45 _regcomp(460) (nil)
46 _regerror(469) (nil)
47 _regexec(479) (nil)
48 _regfree(488) (nil)
49 _remove(497) (nil)
50 _sbrk(505) (nil)
51 _sleep(511) (nil)
52 _stat$INODE64(518) (nil)
53 _strchr(532) (nil)
54 _strcmp(540) (nil)
55 _strcpy(548) (nil)
56 _strcspn(556) (nil)
57 _strdup(565) (nil)
58 _strerror(573) (nil)
59 _strlen(583) (nil)
60 _unlink(591) (nil)
61 _vfork(599) (nil)
62 _vfprintf(606) (nil)
63 _wait4(616) (nil)
64 _waitpid(623) (nil)
65 _write(632) (nil)
66 dyld_stub_binder(639) (nil)
loader command type=b
dysym:
 ilocalsym=0 nlocalsym=1
 iextdefsym=1 nextdefsym=1
 iundefsym=2 nundefsym=65
 tocoff=0 ntoc=0
 modtaboff=0 nmodtab=0
 extrefsymoff=0 nextrefsyms=0
 indirectsymoff=53120 nindirectsyms=127
 extreloff=0 nextrel=0
 locreloff=0 nlocrel=0
dysym 0 _NXGetAllArchInfos(2)
dysym 1 _NXGetArchInfoFromName(3)
dysym 2 _NXGetLocalArchInfo(4)
dysym 3 ___bzero(5)
dysym 4 ___error(6)
dysym 5 ___memcpy_chk(7)
dysym 6 ___memmove_chk(8)
dysym 7 ___sprintf_chk(9)
dysym 8 ___stack_chk_fail(10)
dysym 9 ___strcat_chk(14)
dysym 10 ___strcpy_chk(15)
dysym 11 ___strncpy_chk(16)
dysym 12 __exit(17)
dysym 13 _abort(18)
dysym 14 _access(19)
dysym 15 _calloc(20)
dysym 16 _close(21)
dysym 17 _dup2(22)
dysym 18 _execv(23)
dysym 19 _execvp(24)
dysym 20 _exit(25)
dysym 21 _fclose(26)
dysym 22 _fcntl(27)
dysym 23 _fdopen(28)
dysym 24 _fflush(29)
dysym 25 _fopen(30)
dysym 26 _fprintf(31)
dysym 27 _fputc(32)
dysym 28 _fputs(33)
dysym 29 _free(34)
dysym 30 _fwrite(35)
dysym 31 _getenv(36)
dysym 32 _kill(37)
dysym 33 _malloc(38)
dysym 34 _memcpy(39)
dysym 35 _mkstemps(40)
dysym 36 _open(41)
dysym 37 _pipe(42)
dysym 38 _readlink(43)
dysym 39 _realloc(44)
dysym 40 _regcomp(45)
dysym 41 _regerror(46)
dysym 42 _regexec(47)
dysym 43 _regfree(48)
dysym 44 _remove(49)
dysym 45 _sbrk(50)
dysym 46 _sleep(51)
dysym 47 _stat$INODE64(52)
dysym 48 _strchr(53)
dysym 49 _strcmp(54)
dysym 50 _strcpy(55)
dysym 51 _strcspn(56)
dysym 52 _strdup(57)
dysym 53 _strerror(58)
dysym 54 _strlen(59)
dysym 55 _unlink(60)
dysym 56 _vfork(61)
dysym 57 _vfprintf(62)
dysym 58 _wait4(63)
dysym 59 _waitpid(64)
dysym 60 _write(65)
dysym 61 ___stack_chk_guard(11)
dysym 62 ___stderrp(12)
dysym 63 ___stdoutp(13)
dysym 64 dyld_stub_binder(66)
dysym 65 radr://5614542(0) abs
dysym 66 _NXGetAllArchInfos(2)
dysym 67 _NXGetArchInfoFromName(3)
dysym 68 _NXGetLocalArchInfo(4)
dysym 69 ___bzero(5)
dysym 70 ___error(6)
dysym 71 ___memcpy_chk(7)
dysym 72 ___memmove_chk(8)
dysym 73 ___sprintf_chk(9)
dysym 74 ___stack_chk_fail(10)
dysym 75 ___strcat_chk(14)
dysym 76 ___strcpy_chk(15)
dysym 77 ___strncpy_chk(16)
dysym 78 __exit(17)
dysym 79 _abort(18)
dysym 80 _access(19)
dysym 81 _calloc(20)
dysym 82 _close(21)
dysym 83 _dup2(22)
dysym 84 _execv(23)
dysym 85 _execvp(24)
dysym 86 _exit(25)
dysym 87 _fclose(26)
dysym 88 _fcntl(27)
dysym 89 _fdopen(28)
dysym 90 _fflush(29)
dysym 91 _fopen(30)
dysym 92 _fprintf(31)
dysym 93 _fputc(32)
dysym 94 _fputs(33)
dysym 95 _free(34)
dysym 96 _fwrite(35)
dysym 97 _getenv(36)
dysym 98 _kill(37)
dysym 99 _malloc(38)
dysym 100 _memcpy(39)
dysym 101 _mkstemps(40)
dysym 102 _open(41)
dysym 103 _pipe(42)
dysym 104 _readlink(43)
dysym 105 _realloc(44)
dysym 106 _regcomp(45)
dysym 107 _regerror(46)
dysym 108 _regexec(47)
dysym 109 _regfree(48)
dysym 110 _remove(49)
dysym 111 _sbrk(50)
dysym 112 _sleep(51)
dysym 113 _stat$INODE64(52)
dysym 114 _strchr(53)
dysym 115 _strcmp(54)
dysym 116 _strcpy(55)
dysym 117 _strcspn(56)
dysym 118 _strdup(57)
dysym 119 _strerror(58)
dysym 120 _strlen(59)
dysym 121 _unlink(60)
dysym 122 _vfork(61)
dysym 123 _vfprintf(62)
dysym 124 _wait4(63)
dysym 125 _waitpid(64)
dysym 126 _write(65)
loader command type=e
dynamic linker: /usr/lib/dyld
loader command type=1b
loader command type=24
Version requirements: OS X: 10.7.0; SDK: 10.7.0
loader command type=5
UNIXTHREAD entry=0x100001120
loader command type=c
dylib: '/usr/lib/libSystem.B.dylib'
loader command type=26
loader command type=29
loader command type=1d
dyinfo: 0x7f6a3111f5f0, dysyms: 0x7f6a3112bf80, symtab: 0x7f6a3112bb50, symstrtab: 0x7f6a3112c17c, symbol count: 67
MachOMgr::add: 0xc5e230 - <default>
MachOMgr::add: 0xc6d580 - libSystem.so
__darwin_dlsym(): __stack_chk_guard
__darwin_dlsym(): __stderrp
__darwin_dlsym(): __stdoutp
lookupDyldFunction: dyld_stub_binder
Reworking __eh_frame at 0x100009fc0
Loaded a CIE at 100009fc0
Loaded a CIE at 10000a6d0
Loaded a CIE at 10000a7f8
Loaded a CIE at 10000a880
Loaded a CIE at 10000a908
Loaded a CIE at 10000ab78
Loaded a CIE at 10000adb8
Loaded a CIE at 10000ae00
Loaded a CIE at 10000af18
Loaded a CIE at 10000af68
Loaded a CIE at 10000afb0
Registering reworked __eh_frame at 0xc75170
Looking for section __program_vars in segment __DATA
...found at 0x10000b000
Looking for section __dyld in segment __DATA
...not found
Looking for section __program_vars in segment __DATA
...found at 0x10000b000
Jumping to 0x100001120...
Illegal instruction (core dumped)

and using root

/Xcode.app/Contents/Developer/usr/bin$ DYLD_DEBUG=+debug sudo dyld g++

Cannot make on Ubuntu 13.10. 'ltdl.h' file not found

After following all the build instructions for Ubuntu, I tried to make darling. It got to 64% and gave me this:
[ 64%] Building CXX object src/libltdl/CMakeFiles/ltdl.dir/libltdl.o
In file included from /home/brandon/darling/src/libltdl/libltdl.cpp:1:
/home/brandon/darling/src/libltdl/libltdl.h:3:10: fatal error: 'ltdl.h' file not
found

include <ltdl.h>

     ^

1 error generated.
make[2]: *** [src/libltdl/CMakeFiles/ltdl.dir/libltdl.o] Error 1
make[1]: *** [src/libltdl/CMakeFiles/ltdl.dir/all] Error 2
make: *** [all] Error 2
brandon@brandon-Lenovo:~/darling$ make
[ 4%] Built target util
[ 8%] Built target mach-o
[ 8%] Built target motool
[ 20%] Built target dyld
[ 22%] Built target dyld-bin
[ 22%] Built target dyldd
[ 63%] Built target System
Scanning dependencies of target ltdl
[ 64%] Building CXX object src/libltdl/CMakeFiles/ltdl.dir/libltdl.o
/home/brandon/darling/src/libltdl/libltdl.cpp:1:10: fatal error: 'libltdl.h'
file not found

include "libltdl.h"

     ^

1 error generated.
make[2]: *** [src/libltdl/CMakeFiles/ltdl.dir/libltdl.o] Error 1
make[1]: *** [src/libltdl/CMakeFiles/ltdl.dir/all] Error 2
make: *** [all] Error 2

Why is this file missing? Or am I doing something wrong?

More permissive licensing

The GPLv3 is a problem for developers who are building software in your environment because everything linked against a GPLv3 licensed library must also be GPLv3 licensed. This causes plenty of people to stay away from GPLv3 licensed projects. It would be better for your project's adoption among developers if it adopted the LGPL like Wine did or the X11 license that Wine originally used. It would be easier to do this now when there are only 6 contributors than it would be to do this when there are more contributors.

Cannot make / Ubuntu 13.04 x86_64

Cannot complete make with darling (pulled as if 8/8/2013 9:15AM EST/GMT-5)

~/darling$ CC=clang CXX=clang++ cmake .
-- No build type selected, default to Debug
-- This is a 64-bit build
-- Building ObjC ABI 2
You have called ADD_LIBRARY for library Carbon without any source files. This typically indicates a problem with your CMakeLists.txt file
You have called ADD_LIBRARY for library AppKit without any source files. This typically indicates a problem with your CMakeLists.txt file
CMake Warning (dev) at src/thin/CMakeLists.txt:12 (add_library):
Policy CMP0002 is not set: Logical target names must be globally unique.
Run "cmake --help-policy CMP0002" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.

You have called ADD_LIBRARY for library Carbon without any source files. This typically indicates a problem with your CMakeLists.txt file
You have called ADD_LIBRARY for library auto without any source files. This typically indicates a problem with your CMakeLists.txt file
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kbeezie/darling

~/darling$ make
[ 4%] Built target util
[ 7%] Built target mach-o
[ 8%] Built target motool
[ 9%] Building CXX object src/dyld/CMakeFiles/dyld.dir/dl_public.o
/home/kbeezie/darling/src/dyld/dl_public.cpp:15:8: error: expected unqualified-id
static thread_local char g_lastError[1024];
^
/home/kbeezie/darling/src/dyld/dl_public.cpp:16:8: error: expected unqualified-id
static thread_local bool g_lastErrorRead = false;
^
/home/kbeezie/darling/src/dyld/dl_public.cpp:24:10: error: use of undeclared identifier 'g_lastError'
strncpy(g_lastError, str.c_str(), sizeof(g_lastError));
^
/home/kbeezie/darling/src/dyld/dl_public.cpp:25:2: error: use of undeclared identifier 'g_lastError'
g_lastError[sizeof(g_lastError)-1] = 0;
^
/home/kbeezie/darling/src/dyld/dl_public.cpp:25:21: error: use of undeclared identifier 'g_lastError'
g_lastError[sizeof(g_lastError)-1] = 0;
^
/home/kbeezie/darling/src/dyld/dl_public.cpp:26:2: error: use of undeclared identifier 'g_lastErrorRead'
g_lastErrorRead = false;
^
/home/kbeezie/darling/src/dyld/dl_public.cpp:111:6: error: use of undeclared identifier 'g_lastErrorRead'
if (g_lastErrorRead || !g_lastError[0])
^
/home/kbeezie/darling/src/dyld/dl_public.cpp:111:26: error: use of undeclared identifier 'g_lastError'
if (g_lastErrorRead || !g_lastError[0])
^
/home/kbeezie/darling/src/dyld/dl_public.cpp:114:2: error: use of undeclared identifier 'g_lastErrorRead'
g_lastErrorRead = true;
^
/home/kbeezie/darling/src/dyld/dl_public.cpp:115:9: error: use of undeclared identifier 'g_lastError'
return g_lastError;
^
10 errors generated.
make[2]: *** [src/dyld/CMakeFiles/dyld.dir/dl_public.o] Error 1
make[1]: *** [src/dyld/CMakeFiles/dyld.dir/all] Error 2
make: *** [all] Error 2

ncurses wrapper doesn't handle cur_term->Nttyb

Current ncurses compatibility wrapper doesn't handle direct accesses to the cur_term global variable, specifically to the Nttyb field that needs to be translated.

This affects Midnight Commander, specifically its tty_init() function.

Adding binfmt support

Made some researches executing Mach-0-64 and Universal (aka fat binaries) using binfmt.

The result is that it isn't needed anymore to execute a mach-0/universal binary using dyld, just executing it as a native binary.

Mach-0-64:

package darling
interpreter /usr/bin/dyld
offset 0
magic \xCA\xFE\xBA\xBE

Universal

package darling
interpreter /usr/bin/dyld
offset 0
magic \xCA\xFE\xBA\xBE

Both need to be added into /usr/share/binfmts, eg. as "darling-mach-0-64bit" and "darling-universal" and finally "sudo update-binfmts".

Implement more obsolete File Manager APIs

Implement more obsolete and obscure File Manager APIs.

The following are used by the Growl framework:

  • PBCloseForkSync
  • PBCreateDirectoryUnicodeSync
  • PBCreateFileUnicodeSync
  • PBGetCatalogInfoSync
  • PBIterateForksSync
  • PBMakeFSRefUnicodeSync
  • PBOpenForkSync
  • PBReadForkSync
  • PBWriteForkSync

Use of cocotron as Cocoa implementation

Hi, I've been recently aware of this project and saw that it wants to make use of GNUstep as runtime.

I don't know if you know the Cocotron project, but has been active for many years trying to provide a MIT licensed implementation of the whole Cocoa environment and I think it resembles more closely the full Cocoa runtime and frameworks than GNUStep, is cross platform and has a nearly full implementation so the need of reinventing the wheel can be reduced.

More info on the Cocotron project here: https://code.google.com/p/cocotron/

Hope this helps to the project.

glib's slice allocator corrupts memory

glib's slice allocator writes to wrong locations. Setting G_SLICE=always-malloc workarounds the issue.

(1) ==1866== Invalid write of size 1
(1) ==1866==    at 0x100137275: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/lib/libglib-2.0.0.dylib)
(1) ==1866==    by 0x539A597: ???
(1) ==1866==    by 0x100025361: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)
(1) ==1866==    by 0x10002519F: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)
(1) ==1866==    by 0x100002173: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)
(1) ==1866==    by 0x100004E69: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)
(1) ==1866==    by 0x1000014A3: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)
(1) ==1866==  Address 0x7f613d0 is 16 bytes after a block of size 16 alloc'd
(1) ==1866==    at 0x4A07462: calloc (vg_replace_malloc.c:593)
(1) ==1866==    by 0x5389047: ???
(1) ==1866==    by 0x53977E7: ???
(1) ==1866==    by 0x10002519F: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)
(1) ==1866==    by 0x100002173: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)
(1) ==1866==    by 0x100004E69: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)
(1) ==1866==    by 0x1000014A3: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)

This causes segmentation faults a few moments later.

DYLD_TRAMPOLINE: misaligned stack?

The use of DYLD_TRAMPOLINE sometimes causes $rsp not to be 16byte aligned when calling the real function.

Not sure how this happens as DYLD_TRAMPOLINE should preserve the value of $rsp.

Setting -DSUFFIX overwrites CMAKE_INSTALL_LIBDIR

override_dh_auto_configure:
    OBJCFLAGS=-fblocks dh_auto_configure -- -DCMAKE_C_COMPILER=clang \
                                                -DCMAKE_CXX_COMPILER=clang++ \
                                                -DCMAKE_INSTALL_PREFIX=/usr \
                                                -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
                                                -DSUFFIX=$(SUFFIX)

http://bazaar.launchpad.net/~thopiekar/darling-emu/darling-packaging/view/head:/rules

[...]
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/etc/darling/dylib.conf
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/bin/motool
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libmach-o.so.1.0.0
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libmach-o.so.1.0
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libmach-o.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libdyld.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/bin/dyldd
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/bin/dyld64
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libSystem.so
-- Removed runtime path from "/build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libSystem.so"
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libltdl.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libCocoa.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libobjcdarwin.so
-- Removed runtime path from "/build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libobjcdarwin.so"
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libCoreFoundation.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libncursesdarwin.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libCoreSecurity.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libCoreServices.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libExceptionHandling.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libIOKit.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libFoundation.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libCarbon.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libSystemConfiguration.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libCoreVideo.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libOpenGL.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libAppKit.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libauto.so
-- Installing: /build/buildd/darling-0.0.1/debian/tmp/usr/lib64/darling/libstdc++darwin.so
[...]

https://launchpadlibrarian.net/163141553/buildlog_ubuntu-saucy-i386.darling_0.0.1-0~201401222130~rev7~pkg11~ubuntu13.10.1_FAILEDTOBUILD.txt.gz

Got /usr/lib64, but wanted /usr/lib/x86_64-linux-gnu/ as suggested by Debian's packaging manual.

Catch sysenter instructions

Find out whether it is possible to detect and catch sysenter instructions coming from the OS X code. Extreme binaries (copy protected games) use this.

Cannot make Ubuntu 12.04

I can't upgrade to newer Ubuntu right because when I tried I ran into all kinds of problems -- more than I have time to mess with right now. So I'm stuck on 12.04 LTS.

I followed the Ubuntu build instructions, and received a few errors during the GNU makes / make install processes which are typically normal, but I documented anyway. I will not post it here unless asked since they are rather long.

So then I moved onto the Ordinary build instructions and got to here with the following errors.

Code:
CC=clang CXX=clang++ cmake .
-- The C compiler identification is Clang
-- The CXX compiler identification is Clang
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- No build type selected, default to Debug
-- This is a 32-bit build
-- checking for module 'libbsd >= 0.4.2'
-- package 'libbsd >= 0.4.2' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
CMakeLists.txt:36 (pkg_check_modules)

-- checking for module 'libudev'
-- found libudev, version 175
-- The ASM-ATT compiler identification is GNU
-- Found assembler: /usr/bin/as
-- The ASM_NASM compiler identification is unknown
-- Found assembler: /usr/bin/nasm
-- Looking for bsd/wchar.h
-- Looking for bsd/wchar.h - not found
You have called ADD_LIBRARY for library Carbon without any source files. This typically indicates a problem with your CMakeLists.txt file
You have called ADD_LIBRARY for library AppKit without any source files. This typically indicates a problem with your CMakeLists.txt file
You have called ADD_LIBRARY for library auto without any source files. This typically indicates a problem with your CMakeLists.txt file
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBGNUSTEPBASE_INCLUDE_DIR
used as include directory in directory /home/juice/darling
used as include directory in directory /home/juice/darling/src/motool
used as include directory in directory /home/juice/darling/src/util
used as include directory in directory /home/juice/darling/src/libmach-o
used as include directory in directory /home/juice/darling/src/libdyld
used as include directory in directory /home/juice/darling/src/dyld
used as include directory in directory /home/juice/darling/src/libSystem
used as include directory in directory /home/juice/darling/src/libltdl
used as include directory in directory /home/juice/darling/src/Cocoa
used as include directory in directory /home/juice/darling/src/libobjcdarwin
used as include directory in directory /home/juice/darling/src/CoreFoundation
used as include directory in directory /home/juice/darling/src/libncurses
used as include directory in directory /home/juice/darling/src/CoreSecurity
used as include directory in directory /home/juice/darling/src/CoreServices
used as include directory in directory /home/juice/darling/src/ExceptionHandling
used as include directory in directory /home/juice/darling/src/IOKit
used as include directory in directory /home/juice/darling/src/Foundation
used as include directory in directory /home/juice/darling/src/Carbon
used as include directory in directory /home/juice/darling/src/CoreVideo
used as include directory in directory /home/juice/darling/src/OpenGL
used as include directory in directory /home/juice/darling/src/thin
used as include directory in directory /home/juice/darling/src/libstdc++darwin
LIBGNUSTEPCOREBASE_INCLUDE_DIR
used as include directory in directory /home/juice/darling
used as include directory in directory /home/juice/darling/src/motool
used as include directory in directory /home/juice/darling/src/util
used as include directory in directory /home/juice/darling/src/libmach-o
used as include directory in directory /home/juice/darling/src/libdyld
used as include directory in directory /home/juice/darling/src/dyld
used as include directory in directory /home/juice/darling/src/libSystem
used as include directory in directory /home/juice/darling/src/libltdl
used as include directory in directory /home/juice/darling/src/Cocoa
used as include directory in directory /home/juice/darling/src/libobjcdarwin
used as include directory in directory /home/juice/darling/src/CoreFoundation
used as include directory in directory /home/juice/darling/src/libncurses
used as include directory in directory /home/juice/darling/src/CoreSecurity
used as include directory in directory /home/juice/darling/src/CoreServices
used as include directory in directory /home/juice/darling/src/ExceptionHandling
used as include directory in directory /home/juice/darling/src/IOKit
used as include directory in directory /home/juice/darling/src/Foundation
used as include directory in directory /home/juice/darling/src/Carbon
used as include directory in directory /home/juice/darling/src/CoreVideo
used as include directory in directory /home/juice/darling/src/OpenGL
used as include directory in directory /home/juice/darling/src/thin
used as include directory in directory /home/juice/darling/src/libstdc++darwin
LIBOBJC2_INCLUDE_DIR
used as include directory in directory /home/juice/darling
used as include directory in directory /home/juice/darling/src/motool
used as include directory in directory /home/juice/darling/src/util
used as include directory in directory /home/juice/darling/src/libmach-o
used as include directory in directory /home/juice/darling/src/libdyld
used as include directory in directory /home/juice/darling/src/dyld
used as include directory in directory /home/juice/darling/src/libSystem
used as include directory in directory /home/juice/darling/src/libltdl
used as include directory in directory /home/juice/darling/src/Cocoa
used as include directory in directory /home/juice/darling/src/libobjcdarwin
used as include directory in directory /home/juice/darling/src/CoreFoundation
used as include directory in directory /home/juice/darling/src/libncurses
used as include directory in directory /home/juice/darling/src/CoreSecurity
used as include directory in directory /home/juice/darling/src/CoreServices
used as include directory in directory /home/juice/darling/src/ExceptionHandling
used as include directory in directory /home/juice/darling/src/IOKit
used as include directory in directory /home/juice/darling/src/Foundation
used as include directory in directory /home/juice/darling/src/Carbon
used as include directory in directory /home/juice/darling/src/CoreVideo
used as include directory in directory /home/juice/darling/src/OpenGL
used as include directory in directory /home/juice/darling/src/thin
used as include directory in directory /home/juice/darling/src/libstdc++darwin

-- Configuring incomplete, errors occurred!

Code:
make
make: *** No targets specified and no makefile found. Stop.

I downloaded clang and cmake as per the Ubuntu build instructions. So what am I missing?

LLVM-GCC broken: cc1 fails to write assembly file

LLVM-GCC fails to find the main method because cc1 generates an empty .s (assembly) file. The problem is somewhere in std::basic_filebuf:

       [1s422.3ms]   std::basic_filebuf<char, std::char_traits<char> >::xsputn(char const*, long) - _ZNSt13basic_filebufIcSt11char_traitsIcEE6xsputnEPKcl(0x17473f8, 0x1747780 "\t.section\t__... OMITTED... \n", 441) ret_ip=0x3f8b897208
       [1s422.3ms]    std::basic_filebuf<char, std::char_traits<char> >::overflow(int) - _ZNSt13basic_filebufIcSt11char_traitsIcEE8overflowEi(?) ret_ip=0x3f8b8a0745
       [1s422.3ms]     -> ? (0xffffffff) {0.0ms} errno=2
       [1s422.3ms]    -> 0 {0.0ms} errno=2
       [1s422.3ms]   -> 24409072 {0.0ms} errno=2```

Syscall param select(timeout) points to uninitialised byte(s)

Valgrind indicates that there is something wrong with the __darwin_select() wrapper.

(1) ==30044== Syscall param select(timeout) points to uninitialised byte(s)
(1) ==30044==    at 0x34632E85E3: __select_nocancel (in /lib64/libc-2.17.so)
(1) ==30044==    by 0x56E7A03: __darwin_select (sockets.cpp:94)
(1) ==30044==    by 0x10002E578: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)
(1) ==30044==    by 0x100032FA4: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)
(1) ==30044==    by 0x10003B0EB: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)
(1) ==30044==    by 0x10000811D: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)
(1) ==30044==    by 0x1000050D4: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)
(1) ==30044==    by 0x1000014A3: ??? (in /home/lubos/Projects/darling/tests/bin/mc.app/usr/local/bin/mc)
(1) ==30044==  Address 0x7fefff1cc is on thread 1's stack

The caller in Mach-O is clearly initializing these bytes and __darwin_select() should be passing the pointer untouched.

The caller is is_idle() in Midnight Commander.

Set progvars before booting

NXArgc, NXArgv, environ and __progname main app exports should looked up before running the program entry.

There are no binds/ext. relocs for these vars, they have to be filled in manually.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.