Hello, I have the same problem, searching on google I found that apple 
remove 32bit support to mac os > 10.14. Anyway, I'd like to understand this 
error: is the 32bit support is needed for build on old 32bit arm devices? 
can we build for modern devices avoiding this error? 
A. 

On Wednesday, May 22, 2019 at 4:25:42 PM UTC+2, Steve Guan wrote:
>
>  I'm building android2.3.1 now, but got error as follow:
> o
>
> ============================================
>
> PLATFORM_VERSION_CODENAME=REL
>
> PLATFORM_VERSION=2.3.1
>
> TARGET_PRODUCT=generic
>
> TARGET_BUILD_VARIANT=eng
>
> TARGET_SIMULATOR=
>
> TARGET_BUILD_TYPE=release
>
> TARGET_BUILD_APPS=
>
> TARGET_ARCH=arm
>
> HOST_ARCH=x86
>
> HOST_OS=darwin
>
> HOST_BUILD_TYPE=release
>
> BUILD_ID=GRH78
>
> ============================================
>
> find: frameworks/base/frameworks/base/docs/html: No such file or directory
>
> find: out/target/common/docs/gen: No such file or directory
>
> find: frameworks/base/frameworks/base/docs/html: No such file or directory
>
> find: out/target/common/docs/gen: No such file or directory
>
> find: frameworks/base/frameworks/base/docs/html: No such file or directory
>
> find: out/target/common/docs/gen: No such file or directory
>
> find: frameworks/base/frameworks/base/docs/html: No such file or directory
>
> find: out/target/common/docs/gen: No such file or directory
>
> find: frameworks/base/frameworks/base/docs/html: No such file or directory
>
> find: out/target/common/docs/gen: No such file or directory
>
> host Executable: acp 
> (out/host/darwin-x86/obj/EXECUTABLES/acp_intermediates/acp)
>
> ld: warning: directory not found for option '-Lout/host/darwin-x86/obj/lib'
>
> ld: warning: ignoring file 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd,
>  
> missing required architecture i386 in file 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
>
> ld: warning: ignoring file 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libc++.tbd,
>  
> missing required architecture i386 in file 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libc++.tbd
>
> Undefined symbols for architecture i386:
>
>   "___error", referenced from:
>
>       _process in acp.o
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>       _copyFileContents in libhost.a(CopyFile.o)
>
>   "___stack_chk_fail", referenced from:
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>       _copyFileContents in libhost.a(CopyFile.o)
>
>   "___stack_chk_guard", referenced from:
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>       _copyFileContents in libhost.a(CopyFile.o)
>
>   "___stderrp", referenced from:
>
>       _process in acp.o
>
>       _main in acp.o
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>       _copyFileContents in libhost.a(CopyFile.o)
>
>       _process in acp.o
>
>       _main in acp.o
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>       _copyFileContents in libhost.a(CopyFile.o)
>
>   "___strcat_chk", referenced from:
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_chmod$UNIX2003", referenced from:
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_chown", referenced from:
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_close$UNIX2003", referenced from:
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_closedir$UNIX2003", referenced from:
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>   "_fprintf", referenced from:
>
>       _process in acp.o
>
>       _main in acp.o
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>       _copyFileContents in libhost.a(CopyFile.o)
>
>   "_free", referenced from:
>
>       _process in acp.o
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_fwrite$UNIX2003", referenced from:
>
>       _process in acp.o
>
>       _main in acp.o
>
>   "_getopt$UNIX2003", referenced from:
>
>       _main in acp.o
>
>   "_lchown$UNIX2003", referenced from:
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_lstat$INODE64", referenced from:
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_malloc", referenced from:
>
>       _process in acp.o
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_memcpy", referenced from:
>
>       _process in acp.o
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>   "_mkdir", referenced from:
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>   "_open$UNIX2003", referenced from:
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_opendir$INODE64$UNIX2003", referenced from:
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>   "_optind", referenced from:
>
>       _main in acp.o
>
>   "_printf", referenced from:
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_read$UNIX2003", referenced from:
>
>       _copyFileContents in libhost.a(CopyFile.o)
>
>   "_readdir$INODE64", referenced from:
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>   "_readlink", referenced from:
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_stat$INODE64", referenced from:
>
>       _process in acp.o
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_strcmp", referenced from:
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>   "_strcpy", referenced from:
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_strerror$UNIX2003", referenced from:
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>       _copyFileContents in libhost.a(CopyFile.o)
>
>   "_strlen", referenced from:
>
>       _process in acp.o
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_strrchr", referenced from:
>
>       _process in acp.o
>
>   "_symlink", referenced from:
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_unlink", referenced from:
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_utime", referenced from:
>
>       _copyDirectory in libhost.a(CopyFile.o)
>
>       _copyFileRecursive in libhost.a(CopyFile.o)
>
>   "_write$UNIX2003", referenced from:
>
>       _copyFileContents in libhost.a(CopyFile.o)
>
> ld: symbol(s) not found for architecture i386
>
> clang: *error: *linker command failed with exit code 1 (use -v to see 
> invocation)
>
> make: *** [out/host/darwin-x86/obj/EXECUTABLES/acp_intermediates/acp] 
> Error 1
>
>
>
>
>
>
>
> [image: [email protected]]  [image: gmake.png] 
>
>
>    Any one else can help me, thanks!
>
>
>
>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/60675b00-ed26-4a15-905f-a7062f00ee4a%40googlegroups.com.

Reply via email to