Open GoogleCodeExporter opened 8 years ago
Got the version numbers:
libstdc++-v3 revision 42616
gcc/po revision 42616
iphone-dev rev 198
Original comment by meth...@yahoo.com
on 4 Oct 2007 at 11:54
Found the problem. Need to confirm that symlinks for iPhone root file system
/usr/lib dylibs are maintained to point to versioned dylibs.
Original comment by meth...@yahoo.com
on 5 Oct 2007 at 2:05
I have the same problem, would you mind elaborating your steps to fix it? Were
there
certain dylibs that weren't setup correctly?
Original comment by delore...@gmail.com
on 6 Oct 2007 at 9:37
I originally had problems running vfdecrypt to unpack the iPhone update and
root dmg
files from Ubuntu. I was only able to successfully do it on Windows XP under
Cygwin
(used methods from natetrue to do it).
However, when I scp'd these directories back to Ubuntu, the symbolic links for
the
dylibs to the versioned dylibs were not maintained.
On your iPhone, using the Terminal app:
>> cd /usr/lib
>> ls -l
This will show you all the symbolic links for the dylibs that should exist such
as:
libz.dylib -> libz.1.2.3.dylib
On Ubuntu, you need to recreate all these symlinks like:
>> rm libz.dylib
>> ln -s libz.dylib libz.1.2.3.dylib
Original comment by meth...@yahoo.com
on 7 Oct 2007 at 6:04
ubuntu feisty
$ cat a.cpp
int main()
{
}
$ arm-apple-darwin-c++ a.cpp
/usr/local/bin/arm-apple-darwin-ld: can't locate file for: -lstdc++
collect2: ld returned 1 exit status
Original comment by parad...@gmail.com
on 9 Oct 2007 at 4:20
I am stuck in the same error at the end of make, building the toolchain on
leopard
10.5.2, any news on how to avoid that? cheers!
Original comment by shag...@gmail.com
on 20 Feb 2008 at 1:17
Fedora-7, x86_64, building llvm-gcc-4.0-iphone: (yes, used 'gcc -m32')
1) The first problem:
...........
arm-apple-darwin-nm: no name list
mv 'libgcc/./tmp-libgcc.map' libgcc/./libgcc.map
/home/metin/toolchain/iphone-dev/build/llvm-gcc-4.0-iphone/gcc/xgcc
-B/home/metin/toolchain/iphone-dev/build/llvm-gcc-4.0-iphone/gcc/
-B/usr/local/arm-apple-darwin/bin/ -B/usr/local/arm-apple-darwin/lib/ -isystem
/usr/local/arm-apple-darwin/include -isystem
/usr/local/arm-apple-darwin/sys-include
-O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include
-fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_libc -dynamiclib -nodefaultlibs -install_name /usr/lib/libgcc_s`if
test . =
ppc64 ; then echo _. ; fi`.1.dylib -single_module -o ./libgcc_s.1.dylib.tmp
-Wl,-exported_symbols_list,libgcc/./libgcc.map -compatibility_version 1
-current_version 1.0 libgcc/./_udivsi3_s.o libgcc/./_divsi3_s.o
libgcc/./_umodsi3_s.o libgcc/./_modsi3_s.o libgcc/./_dvmd_tls_s.o
libgcc/./_muldi3_s.o libgcc/./_negdi2_s.o libgcc/./_lshrdi3_s.o
libgcc/./_ashldi3_s.o
libgcc/./_ashrdi3_s.o libgcc/./_cmpdi2_s.o libgcc/./_ucmpdi2_s.o
libgcc/./_floatdidf_s.o libgcc/./_floatdisf_s.o libgcc/./_fixunsdfsi_s.o
libgcc/./_fixunssfsi_s.o libgcc/./_fixunsdfdi_s.o libgcc/./_fixdfdi_s.o
libgcc/./_fixunssfdi_s.o libgcc/./_fixsfdi_s.o libgcc/./_fixxfdi_s.o
libgcc/./_fixunsxfdi_s.o libgcc/./_floatdixf_s.o libgcc/./_fixunsxfsi_s.o
libgcc/./_fixtfdi_s.o libgcc/./_fixunstfdi_s.o libgcc/./_floatditf_s.o
libgcc/./_clear_cache_s.o libgcc/./_enable_execute_stack_s.o
libgcc/./_trampoline_s.o
libgcc/./__main_s.o libgcc/./_absvsi2_s.o libgcc/./_absvdi2_s.o
libgcc/./_addvsi3_s.o
libgcc/./_addvdi3_s.o libgcc/./_subvsi3_s.o libgcc/./_subvdi3_s.o
libgcc/./_mulvsi3_s.o libgcc/./_mulvdi3_s.o libgcc/./_negvsi2_s.o
libgcc/./_negvdi2_s.o libgcc/./_ctors_s.o libgcc/./_ffssi2_s.o
libgcc/./_ffsdi2_s.o
libgcc/./_clz_s.o libgcc/./_clzsi2_s.o libgcc/./_clzdi2_s.o libgcc/./_ctzsi2_s.o
libgcc/./_ctzdi2_s.o libgcc/./_popcount_tab_s.o libgcc/./_popcountsi2_s.o
libgcc/./_popcountdi2_s.o libgcc/./_paritysi2_s.o libgcc/./_paritydi2_s.o
libgcc/./_powisf2_s.o libgcc/./_powidf2_s.o libgcc/./_powixf2_s.o
libgcc/./_powitf2_s.o libgcc/./_mulsc3_s.o libgcc/./_muldc3_s.o
libgcc/./_mulxc3_s.o
libgcc/./_multc3_s.o libgcc/./_divsc3_s.o libgcc/./_divdc3_s.o
libgcc/./_divxc3_s.o
libgcc/./_divtc3_s.o libgcc/./_divdi3_s.o libgcc/./_moddi3_s.o
libgcc/./_udivdi3_s.o
libgcc/./_umoddi3_s.o libgcc/./_udiv_w_sdiv_s.o libgcc/./_udivmoddi4_s.o
libgcc/./unwind-dw2_s.o libgcc/./unwind-dw2-fde-darwin_s.o
libgcc/./unwind-sjlj_s.o
libgcc/./unwind-c_s.o -lc
/usr/local/bin/arm-apple-darwin-ld: can't locate file for: -ldylib1.o
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.dylib] Error 1
.........
collect2 is complaining about -ldylib1.o parameter. When this issue is fixed by
hand,
by feeding /usr/local/arm-apple-darwin/lib/dylib1.o to collect2 (by chopping
xgcc
calls into pieces manually), then the second problem hits:
2)
checking gconv.h presence... no
checking for gconv.h... no
checking for sys/types.h... (cached) yes
checking for g++ that supports -ffunction-sections -fdata-sections... yes
checking for sin in -lm... configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES.
make: *** [configure-target-libstdc++-v3] Error 1
Which is the same as above, where some other people are complaining about it.
And
yes, iphone filesystem symbolic links are correctly pointing their versioned
counterparts.
Any help??
Thank you..
Original comment by nala...@gmail.com
on 25 Mar 2008 at 10:30
to the "/usr/local/bin/arm-apple-darwin-ld: can't locate file for: -lstdc++"
problem:
compile with -L/usr/local/lib
Original comment by putz.a...@gmail.com
on 5 Jun 2008 at 1:30
Just need ln \iphone-dev\iphone-filesystem\usr\lib\libstdc++.6.0.4.dylib to
libstdc++.dylib
Original comment by leafd...@gmail.com
on 28 Jun 2008 at 11:58
Original issue reported on code.google.com by
meth...@yahoo.com
on 4 Oct 2007 at 9:16