minji-um / iphone-dev

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

make gcc-4.2-iphone error: libc.dylib unknown flags (type) of section 4 (__TEXT,__dof_magmalloc) in load command 0 #193

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. sudo ./toolchain.sh build or sudo ./toolchain.sh all
2. Error to make on toolchain/bld/gcc-4.2-iphone
3. Return result Error [1], 2 total errors

What is the expected output? What do you see instead?

/home/venommdt/Projects/iphone/toolchain/toolchain/pre/bin/arm-apple-darwin9-ld:
/home/venommdt/Projects/iphone/toolchain/toolchain/sys/usr/lib/libc.dylib
unknown flags (type) of section 4 (__TEXT,__dof_magmalloc) in load command 0

collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.dylib] Error 1
make[3]: Leaving directory
`/home/venommdt/Projects/iphone/toolchain/toolchain/bld/gcc-4.2-iphone/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory
`/home/venommdt/Projects/iphone/toolchain/toolchain/bld/gcc-4.2-iphone/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory
`/home/venommdt/Projects/iphone/toolchain/toolchain/bld/gcc-4.2-iphone'
make: *** [all] Error 2

What version of the product are you using? On what operating system?
I'm get toolchain from "svn checkout
http://iphonedevonlinux.googlecode.com/svn/trunk/ ./"

Please provide any additional information below.
I'm have Ubuntu Karmic Koala 32 bit, i had replace toolchain.sh in:
CFLAGS="-m32" LDFLAGS="-m32" "${CCTOOLS_DIR}"/configure \
        --target="${TARGET}" \
        --prefix="$PREFIX" \
        --disable-ld64 (before enable-ld64)

I had toolchain.sh with this changes because i get the error compiling
cctools-iphone, if i change toolchain.sh then compile cctools-iphone work fine.

Please, anybody can help me! (I'm sorry for my english, it's not very good)

Original issue reported on code.google.com by pablo.ga...@gmail.com on 16 Nov 2009 at 7:54

Attachments:

GoogleCodeExporter commented 8 years ago
make.log (cctools-iphone)

Original comment by pablo.ga...@gmail.com on 16 Nov 2009 at 8:00

Attachments:

GoogleCodeExporter commented 8 years ago
I'm getting the same error.. any solution yet?

Original comment by fatherca...@gmail.com on 13 Dec 2009 at 2:16

Attachments: