sheebz / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

can't figure out the architecture type of: libgcc_s.10.4.dylib_T #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn

What do you see instead?
arm-apple-darwin-lipo -output libgcc_s.10.4.dylib -create
libgcc_s.10.4.dylib_T*
arm-apple-darwin-lipo: can't figure out the architecture type of:
libgcc_s.10.4.dylib_T
make[1]: *** [libgcc_s.10.4.dylib] Error 1
make[1]: Leaving directory
`/home/hilay/iphone-dev/build/llvm-gcc-4.0-iphone/gcc'
make: *** [all-gcc] Error 2

What version of the product are you using? On what operating system?
Ubuntu 7.0.4 32 bit PC/AMD

Please provide any additional information below.
before that I had a "lc" problem that solved by rsync all iphone filesystem
to linux.

Original issue reported on code.google.com by hil...@gmail.com on 19 Oct 2007 at 3:23

GoogleCodeExporter commented 9 years ago
Please close this ticket - solved after reinstalling Ubuntu from liveCD and 
doing it
all over again.

Original comment by hil...@gmail.com on 23 Oct 2007 at 6:06

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn

What do you see instead?
arm-apple-darwin-lipo -output libgcc_s.10.4.dylib -create libgcc_s.10.4.dylib_T*
arm-apple-darwin-lipo: can't figure out the architecture type of: 
libgcc_s.10.4.dylib_T
make[1]: *** [libgcc_s.10.4.dylib] Error 1
make[1]: Leaving directory `/home/iphoneBuild/iphone-dev/build/llvm-gcc-4.0-
iphone/gcc'
make: *** [all-gcc] Error 2

What version of the product are you using? 
Revision 42432 of llvm
Revision ??? of iphone-dev (latest as of 10/26/2007)
CYGWIN_NT-5.1 IPHONESERVER 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin

On what operating system?
Windows XP SP2

Please provide any additional information below.
I applied the patch and directory naming changes needed by Cygwin pointed out 
by 
victzh on issue issue 40:

http://code.google.com/p/iphone-dev/issues/detail?id=40 

Like hilays, I had a "lc" problem that solved was by using scp to pull down my 
iPhone filesystem to my iphone-filesystem directory inside cygwin (this copied 
the 
symbolic links correcly unlike filezila)

Going to whipe all my directories and try rev 197 of iphone-tools as noted by 
victzh 
under the Portiblity page for Windows XP/Cygwin:

http://code.google.com/p/iphone-dev/wiki/Portability

Will post update if it miraculously works =) So close, yet so very far away 
/sigh

Original comment by rockho...@gmail.com on 27 Oct 2007 at 11:47

GoogleCodeExporter commented 9 years ago
same problem for me!

arm-apple-darwin-lipo -output libgcc_s.10.4.dylib -create
libgcc_s.10.4.dylib_T*
arm-apple-darwin-lipo: can't figure out the architecture type of:
libgcc_s.10.4.dylib_T
make[1]: *** [libgcc_s.10.4.dylib] Error 1
make[1]: Leaving directory
`/home/hilay/iphone-dev/build/llvm-gcc-4.0-iphone/gcc'
make: *** [all-gcc] Error 2

I'm running ubuntu 7.10 ...

Original comment by edouard....@gmail.com on 28 Oct 2007 at 5:37

GoogleCodeExporter commented 9 years ago
The problem is that arm-apple-darwin-strip seems to be buggy. It creates wrong
libgcc_s.10.4.dylib_T, and lypo cannot use it.

The temporary solution is to replace call to 'strip' by 'cp' in file
llvm-gcc-4.0-iphone/gcc/config/t-slibgcc-darwin, line 60:

        for mlib in '' $$MLIBS ; do \
         cp ./$${mlib}/libgcc_s.$(SHLIB_SOVERSION)$(SHLIB_EXT).tmp $(@)_T$${mlib}; \
        done

Funny that it looks like someone has done the same "fix" for shared libs (lines
72-74). Maybe there was a reason.

Original comment by gyun...@gmail.com on 12 Nov 2007 at 9:04

GoogleCodeExporter commented 9 years ago
I meet the same problem .....

arm-apple-darwin-lipo -output libgcc_s.10.4.dylib -create
libgcc_s.10.4.dylib_T*
arm-apple-darwin-lipo: can't figure out the architecture type of:
libgcc_s.10.4.dylib_T
make[1]: *** [libgcc_s.10.4.dylib] Error 1
make[1]: Leaving directory
`/home/root/iphone-dev/build/llvm-gcc-4.0-iphone/gcc'
make: *** [all-gcc] Error 2

I'm running Fedora 7(with vmware6.02/winxp2)

Original comment by zzv...@gmail.com on 21 Jan 2008 at 8:49

GoogleCodeExporter commented 9 years ago
I committed the aforementioned fix to the tree as it was driving me nuts ;P.

Original comment by saurik on 14 Mar 2008 at 8:22