Comments (11)
Original comment by [email protected]
on 13 Sep 2007 at 8:07
- Changed title: Linking problems on Linux that cause strip to produce corrupt objects
from iphone-dev.
The corruption is happening here:
check_indirect_symtab (arch=0x3001c0, member=0x0, object=0x300290, nitems=2,
reserved1=30,
section_type=6, contents=0x6e000 "?m", symbols=0x76080, symbols64=0x0,
nsyms=303, strings=0x77430
"", missing_reloc_symbols=0xbfffef3c, host_byte_sex=LITTLE_ENDIAN_BYTE_SEX) at
strip.c:2019
Original comment by [email protected]
on 13 Sep 2007 at 8:21
from iphone-dev.
after running indent on the file so I can read it, it's:
0x00002245 in check_indirect_symtab (arch=0x3001c0, member=0x0,
object=0x300290, nitems=2,
reserved1=30, section_type=6, contents=0x6e000 "?m", symbols=0x76080,
symbols64=0x0, nsyms=303,
strings=0x77430 "", missing_reloc_symbols=0xbfffef3c,
host_byte_sex=LITTLE_ENDIAN_BYTE_SEX) at
strip.c:1978
1978 *(uint32_t *) (contents + k * 4) = value;
Original comment by [email protected]
on 13 Sep 2007 at 8:30
from iphone-dev.
Possibly related to a faulty __attribute__((hidden)).
Original comment by [email protected]
on 13 Sep 2007 at 10:24
from iphone-dev.
Doesn't always seem to occur. Hmmmm.
Original comment by [email protected]
on 13 Sep 2007 at 11:38
from iphone-dev.
Rebuilt and the problem went away -- rebuild again and it showed up. Even after
a
"successful" build, many apps are randomly crashing (ruby interpreter for
example)
Original comment by [email protected]
on 16 Sep 2007 at 4:42
from iphone-dev.
Could you file the crashes as separate bugs, with stack backtraces? Thanks.
Original comment by [email protected]
on 16 Sep 2007 at 2:27
from iphone-dev.
Any ideas for obtaining a stack backtrace from a native app? I didn't see an
easy way
to build gcc.
Original comment by [email protected]
on 16 Sep 2007 at 4:50
from iphone-dev.
On the iPhone, /var/logs/CrashReporter/LatestCrash.plist has a backtrace; you
can also try vmutils.framework in
PrivateFrameworks on the iPhone (class-dump it).
Original comment by [email protected]
on 19 Sep 2007 at 10:34
from iphone-dev.
Filed as bug #44.
Original comment by [email protected]
on 19 Sep 2007 at 10:49
from iphone-dev.
I got around this by skipping the stripping of libgcc_s.
run make. wait until make stops with errors about arm-apple-darwin-lipo and
libgcc_s.10.4.dylib. Then run:
# cd llvm-gcc-4.0-iphone/gcc
# arm-apple-darwin-lipo -output libgcc_s.10.4.dylib -create libgcc_s.1.dylib.tmp
# arm-apple-darwin-lipo -output libgcc_s.10.5.dylib -create libgcc_s.1.dylib.tmp
# cd ..
and then make and sudo make install to finish up.
Apps now compile for me on an x86 Linux box!
Original comment by benjie
on 9 Oct 2007 at 11:51
from iphone-dev.
Related Issues (20)
- Impossible toolchain compilation on Linux HOT 2
- compilation failed HOT 1
- #error Add the correct JBLEN size for your target here HOT 3
- SJ99 - iPhone toolchain SDK v2.0.1, THE BEST SDK SUPPORT MAC OS 10.6.X
- A lot of warnings & errors on Ubuntu Lucid Lynx x86
- error building lvmm-gcc on Ubuntu HOT 1
- Good news to all toolchain users, one-key to install toolchain and no need to config anything! HOT 1
- gcc problems whith iphone-dev installlation on 64 bit gnu/linux (deb/deb based) HOT 1
- Make odcctools failed on MacOS10.6.3
- make LLVM-GCC error
- Can't Compile LLVM-SVN on Ubuntu 10.10 Maverick HOT 1
- native 64bit toolchain on linux HOT 10
- problems while performing 'make' HOT 2
- Can't compile llvm because it can't find lgcc_s HOT 1
- Error while running make ENABLE_OPTIMIZED=1
- compilation LLVM
- make odcctools failed due to error
- llvm-gcc-4.2-iphone: configure: error: You must specify valid path to your LLVM tree with --enable-llvm=DIR
- error building llvm HOT 1
- error Darwin CC Tools IPad 2 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iphone-dev.