iOS Build fail with XCode 4.5 DP4 (Bug #2260)


Added by Diego Stamigni over 12 years ago. Updated over 11 years ago.


Status:Cancelled Start date:2012-08-10
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:ios
Target version:2.4.6
Affected version:2.4.0 - 2.4.4 Operating System:
Difficulty: HW Platform:
Pull request:

Description

Something goes wrong building OpenCV iOS iPhoneOS:

[...]
/Applications/Xcode45-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: input object file stripped: /Users/osiris/Sviluppo/iOS/OpenCVForiPhone/test/build/iPhoneOS/modules/objdetect/UninstalledProducts/libopencv_objdetect.a(precomp.o)
0  0x107bb15f0  __assert_rtn + 144
1  0x107c18d12  ld::tool::FunctionStartsAtom<arm>::encode() const + 594
2  0x107c0705b  ld::tool::OutputFile::updateLINKEDITAddresses(ld::Internal&) + 251
3  0x107c023b8  ld::tool::OutputFile::write(ld::Internal&) + 136
4  0x107bb1c5f  main + 1263
A linker snapshot was created at:
    /tmp/strip.SJc6mY-2012-07-10-124759.ld-snapshot
ld: Assertion failed: (addr != badAddress), function encode, file /SourceCache/ld64/ld64-134.5/src/ld/LinkEdit.hpp, line 1289.
/Applications/Xcode45-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: internal link edit command failed
Command /Applications/Xcode45-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip failed with exit code 1

** BUILD FAILED **

The following build commands failed:
    Stripping /Users/osiris/Sviluppo/iOS/OpenCVForiPhone/test/build/iPhoneOS/modules/objdetect/UninstalledProducts/libopencv_objdetect.a
(1 failure)

Note that everything goes ok with XCode <= 4.5


History

Updated by Evgeny Talanin over 12 years ago

  • Category set to ios
  • Assignee set to Vadim Pisarevsky

Updated by Diego Stamigni over 12 years ago

Note that everything goes ok with XCode < 4.5

Updated by Andrey Kamaev over 12 years ago

  • Description changed from Something goes wrong building OpenCV iOS iPhoneOS: ----------- [...] /Applic... to Something goes wrong building OpenCV iOS iPhoneOS: <pre> [...] /Appli... More

Updated by Vadim Pisarevsky over 12 years ago

  • Target version deleted ()
  • Assignee deleted (Vadim Pisarevsky)

Updated by Kirill Kornyakov over 12 years ago

  • Target version set to Next Hackathon

Updated by Kirill Kornyakov over 11 years ago

I belive this is an obsolete bug. Latest OpenCV and Xcode work OK together...

  • Status changed from Open to Cancelled
  • Affected version set to 2.4.0 - 2.4.4
  • Target version changed from Next Hackathon to 2.4.6

Also available in: Atom PDF