|
|
Subject: Re: GenerateDSYMFile Invalid DWARF error - msg#00012
On 6/23/2010 9:58 AM, Greg Clayton wrote:
I am not sure if this is an option for you James, but you can just use
the /Developer/usr/bin/dsymutil from 3.2.1 with the new 3.2.3 install.
Just copy the old version into /Developer/usr/bin. This version will
happily ignore the bad DWARF generated by the compiler and should allow
you to use the new toolset.
Somehow I missed this post until now... thanks a lot!
--
James W. Walker, Innoventive Software LLC
< http://www.frameforge3d.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (Xcode-users@xxxxxxxxxxxxxxx)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/maillists%40codeha.us
This email sent to maillists@xxxxxxxxx
Thread at a glance:
Previous Message by Date:
Re: clang failed with exit code 250
Folks, i forgot to include the method that seems to be causing clang to crap out. What I've found is that if I get rid of the try/finally and leave all the other code in place as is, clang doesn't crash. I have lots of other try/finally code in this project, and only one other spot is currently failing with the same error (which also happens to be in another custom view class that's also invoking CG drawing routines). I tried a bit more monkeying, and I found that if I copy and paste the contents of this method into another new method that has the signature - (void)foo (note the lack of any arguments) in this same class and get rid of the contents of drawRect that the clang error goes away. Further, if this new method foo is changed to take a CGRect as its first argument, the build failure comes right back. Alternatively, if I change the drawRect method to not take a CGRect argument (and just dummy one up at the start of the method) clang also works fine. Finally, if I change drawRect to take an object as an argument, as in - (void)drawRect:(NSObject *)aRect, clang again works fine. Unless this is a known issue, I'm guessing I should file a bug.- (void)drawRect:(CGRect)rect{ CGContextRef context; [super drawRect:rect]; context = UIGraphicsGetCurrentContext(); CGContextSaveGState(context); @try { // Lots of custom CG... drawing function calls } @finally { CGContextRestoreGState(context); }}On Jul 1, 2010, at 12:48 PM, Paul Summermatter wrote:All, Before filing a bug, I wanted to check to make sure I wasn't doing something stupid. I'm trying to compile our iPhone project on Xcode 3.2.3 with LLVM 1.5. When I do so, I get the following error (note that this same code compiles fine with GCC 4.2):UNREACHABLE executed!0 clang 0x0000000100d3d5021 clang 0x0000000100d3d9e42 libSystem.B.dylib 0x00007fff8637735a _sigtramp + 263 libSystem.B.dylib 0x00000001011d48b0 _sigtramp + 20618827364 clang 0x0000000100d18ccd5 clang 0x0000000100cdfc336 clang 0x00000001008c2a7f7 clang 0x00000001008a478f8 clang 0x00000001008dd5cc9 clang 0x00000001008ddf6010 clang 0x00000001008dee3c11 clang 0x000000010097949e12 clang 0x0000000100cc95c213 clang 0x0000000100cc979414 clang 0x0000000100cc995615 clang 0x000000010003761516 clang 0x000000010025375117 clang 0x000000010003a20e18 clang 0x00000001000215a319 clang 0x000000010002487820 clang 0x000000010001f8d8Stack dump:0. Program arguments: /Developer/3.2.3/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -cc1 -triple thumbv6-apple-darwin3.1.3-iphoneos -S -disable-free -disable-llvm-verifier -main-file-name TCBackgroundView.m -pic-level 1 -mdisable-fp-elim -target-abi apcs-gnu -target-cpu arm1136jf-s -mfloat-abi soft -target-feature +soft-float-abi -g -resource-dir /Developer/3.2.3/Platforms/iPhoneOS.platform/Developer/usr/lib/clang/1.5 -isysroot /Developer/3.2.3/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk -iquote /Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/MyApp.build/Debug-iphoneos/MyApp-iPhoneOnly.build/MyApp-generated-files.hmap -iquote /Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/MyApp.build/Debug-iphoneos/MyApp-iPhoneOnly.build/MyApp-project-headers.hmap -include-pch /var/folders/Cb/Cb0A0moT2RWN-++8ZPlqJ++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MyApp_Prefix-cqybpdvfsyyukwfesjvpuejxijyb/MyApp_Prefix.pch.pth -I/Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/MyApp.build/Debug-iphoneos/MyApp-iPhoneOnly.build/MyApp-own-target-headers.hmap -I/Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/MyApp.build/Debug-iphoneos/MyApp-iPhoneOnly.build/MyApp-all-target-headers.hmap -F/Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/Debug-iphoneos -I/Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/Debug-iphoneos/include -I../../ThirdParty/core-plot/framework -I../../ThirdParty/core-plot/framework/iPhoneOnly -I../../ThirdParty/core-plot/framework/MacOnly -I../../ThirdParty/core-plot/framework/Source -I../../ThirdParty/core-plot/framework/TestResources -I/Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/MyApp.build/Debug-iphoneos/MyApp-iPhoneOnly.build/DerivedSources/armv6 -I/Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/MyApp.build/Debug-iphoneos/MyApp-iPhoneOnly.build/DerivedSources -O0 -Wno-trigraphs -Werror-implicit-function-declaration -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wunknown-pragmas -Wshadow -Wfour-char-constants -Wsign-compare -Wshorten-64-to-32 -Wall -Wendif-labels -Winvalid-pch -Wformat=2 -Wmissing-format-attribute -Wwrite-strings -Wstrict-aliasing=2 -Wpacked -Wmissing-field-initializers -Wextra -Wdisabled-optimization -Wfloat-equal -Wunreachable-code -Wdiv-by-zero -Wbad-function-cast -Wnested-externs -Wold-style-definition -std=c99 -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -fdiagnostics-print-source-range-info -fblocks -fsjlj-exceptions -fobjc-nonfragile-abi -fpascal-strings -fdiagnostics-show-option -o /var/folders/Cb/Cb0A0moT2RWN-++8ZPlqJ++++TI/-Tmp-/cc-p76C0n.s -x objective-c /Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/UI/BackgroundView.m 1. <eof> parser at end of file2. Code generation3. Running pass 'ARM Instruction Selection' on function '@"\01-[BackgroundView drawRect:]"'clang: error: compiler command failed due to signal 6 (use -v to see invocation)Command /Developer/3.2.3/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 250 _______________________________________________Do not post admin requests to the list. They will be ignored.Xcode-users mailing list (Xcode-users@xxxxxxxxxxxxxxx)Help/Unsubscribe/Update your Subscription:http://lists.apple.com/mailman/options/xcode-users/paulrs%40mac.comThis email sent to paulrs@xxxxxxx _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (Xcode-users@xxxxxxxxxxxxxxx)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/maillists%40codeha.us
This email sent to maillists@xxxxxxxxx
Next Message by Date:
Re: How to export documentation bookmarks? SOLVED
On Jun 29, 2010, at 11:01 AM, Bill Cheeseman wrote:On Jun 29, 2010, at 8:39 AM, Jean-Daniel Dupas wrote:You may try to copy them from the Xcode preferences (in ~/Library/Preferences/com.apple.Xcode.plist, there is an array of bookmarks under the key kDSMBookmarkManagerAllBookmarksUserDefaultsKey).Le 29 juin 2010 à 13:30, Bill Cheeseman a écrit :Is there any way to export or save Xcode documentation bookmarks for backup or for installation on a second computer?I have an extensive collection of bookmarks on my main development machine, and I rely on them constantly. It would be a great convenience to be able to use them on my laptop on the rare occasions when I use it for development.Thanks, that looks promising. Maybe I'll do a simple AppleScript to save it and restore it.Here are AppleScript scripts to archive and restore Xcode bookmarks. Tested only on Mac OS X 10.6.4 and Xcode 3.2.3. I successfully archived 79 bookmarks from one machine and restored them on another machine.-- Xcode Bookmarks-Archive-- Version 1.0 Bill Cheeseman 2010-07-01property xcodePrefsPath : (path to preferences as string) & "com.apple.Xcode.plist"property bookmarksKey : "kDSMBookmarkManagerAllBookmarksUserDefaultsKey"tell application "Finder" to set bookmarksFile to choose file name with prompt "Archive Xcode bookmarks to:" default name "Xcode Bookmarks" default location (path to desktop)set fileRef to open for access bookmarksFile with write permissiontry tell application "System Events" to set bookmarks to value of property list item bookmarksKey of property list file xcodePrefsPath write bookmarks to fileRef close access fileRefon error close access fileRefend try-- Xcode Bookmarks-Restore-- Version 1.0 Bill Cheeseman 2010-07-01property xcodePrefsPath : (path to preferences as string) & "com.apple.Xcode.plist"property bookmarksKey : "kDSMBookmarkManagerAllBookmarksUserDefaultsKey"if running of application "Xcode" then tell application "Finder" to display alert "Xcode is running" message "Quit Xcode and run the Restore Xcode Bookmarks script again" buttons {"OK"} default button "OK" returnend iftell application "Finder" to set bookmarksFile to choose file with prompt "Restore Xcode bookmarks from:" default location (path to desktop)set fileRef to open for access bookmarksFiletry set bookmarks to read fileRef as list tell application "System Events" to set value of property list item bookmarksKey of property list file xcodePrefsPath to bookmarks close access fileRefon error close access fileRefend try
--Bill Cheeseman - bill@xxxxxxxxxxxxxx
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (Xcode-users@xxxxxxxxxxxxxxx)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/maillists%40codeha.us
This email sent to maillists@xxxxxxxxx
Previous Message by Thread:
clang failed with exit code 250
All, Before filing a bug, I wanted to check to make sure I wasn't doing something stupid. I'm trying to compile our iPhone project on Xcode 3.2.3 with LLVM 1.5. When I do so, I get the following error (note that this same code compiles fine with GCC 4.2):UNREACHABLE executed!0 clang 0x0000000100d3d5021 clang 0x0000000100d3d9e42 libSystem.B.dylib 0x00007fff8637735a _sigtramp + 263 libSystem.B.dylib 0x00000001011d48b0 _sigtramp + 20618827364 clang 0x0000000100d18ccd5 clang 0x0000000100cdfc336 clang 0x00000001008c2a7f7 clang 0x00000001008a478f8 clang 0x00000001008dd5cc9 clang 0x00000001008ddf6010 clang 0x00000001008dee3c11 clang 0x000000010097949e12 clang 0x0000000100cc95c213 clang 0x0000000100cc979414 clang 0x0000000100cc995615 clang 0x000000010003761516 clang 0x000000010025375117 clang 0x000000010003a20e18 clang 0x00000001000215a319 clang 0x000000010002487820 clang 0x000000010001f8d8Stack dump:0. Program arguments: /Developer/3.2.3/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -cc1 -triple thumbv6-apple-darwin3.1.3-iphoneos -S -disable-free -disable-llvm-verifier -main-file-name TCBackgroundView.m -pic-level 1 -mdisable-fp-elim -target-abi apcs-gnu -target-cpu arm1136jf-s -mfloat-abi soft -target-feature +soft-float-abi -g -resource-dir /Developer/3.2.3/Platforms/iPhoneOS.platform/Developer/usr/lib/clang/1.5 -isysroot /Developer/3.2.3/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk -iquote /Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/MyApp.build/Debug-iphoneos/MyApp-iPhoneOnly.build/MyApp-generated-files.hmap -iquote /Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/MyApp.build/Debug-iphoneos/MyApp-iPhoneOnly.build/MyApp-project-headers.hmap -include-pch /var/folders/Cb/Cb0A0moT2RWN-++8ZPlqJ++++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MyApp_Prefix-cqybpdvfsyyukwfesjvpuejxijyb/MyApp_Prefix.pch.pth -I/Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/MyApp.build/Debug-iphoneos/MyApp-iPhoneOnly.build/MyApp-own-target-headers.hmap -I/Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/MyApp.build/Debug-iphoneos/MyApp-iPhoneOnly.build/MyApp-all-target-headers.hmap -F/Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/Debug-iphoneos -I/Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/Debug-iphoneos/include -I../../ThirdParty/core-plot/framework -I../../ThirdParty/core-plot/framework/iPhoneOnly -I../../ThirdParty/core-plot/framework/MacOnly -I../../ThirdParty/core-plot/framework/Source -I../../ThirdParty/core-plot/framework/TestResources -I/Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/MyApp.build/Debug-iphoneos/MyApp-iPhoneOnly.build/DerivedSources/armv6 -I/Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/build/MyApp.build/Debug-iphoneos/MyApp-iPhoneOnly.build/DerivedSources -O0 -Wno-trigraphs -Werror-implicit-function-declaration -Wreturn-type -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wunknown-pragmas -Wshadow -Wfour-char-constants -Wsign-compare -Wshorten-64-to-32 -Wall -Wendif-labels -Winvalid-pch -Wformat=2 -Wmissing-format-attribute -Wwrite-strings -Wstrict-aliasing=2 -Wpacked -Wmissing-field-initializers -Wextra -Wdisabled-optimization -Wfloat-equal -Wunreachable-code -Wdiv-by-zero -Wbad-function-cast -Wnested-externs -Wold-style-definition -std=c99 -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -fdiagnostics-print-source-range-info -fblocks -fsjlj-exceptions -fobjc-nonfragile-abi -fpascal-strings -fdiagnostics-show-option -o /var/folders/Cb/Cb0A0moT2RWN-++8ZPlqJ++++TI/-Tmp-/cc-p76C0n.s -x objective-c /Users/paulrs/Developer/MyCompany/iphone/branches/4.13.0/cocoa/MyApp/UI/BackgroundView.m 1. <eof> parser at end of file2. Code generation3. Running pass 'ARM Instruction Selection' on function '@"\01-[BackgroundView drawRect:]"'clang: error: compiler command failed due to signal 6 (use -v to see invocation)Command /Developer/3.2.3/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 250 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (Xcode-users@xxxxxxxxxxxxxxx)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/maillists%40codeha.us
This email sent to maillists@xxxxxxxxx
Next Message by Thread:
Re: How to export documentation bookmarks? SOLVED
On Jun 29, 2010, at 11:01 AM, Bill Cheeseman wrote:On Jun 29, 2010, at 8:39 AM, Jean-Daniel Dupas wrote:You may try to copy them from the Xcode preferences (in ~/Library/Preferences/com.apple.Xcode.plist, there is an array of bookmarks under the key kDSMBookmarkManagerAllBookmarksUserDefaultsKey).Le 29 juin 2010 à 13:30, Bill Cheeseman a écrit :Is there any way to export or save Xcode documentation bookmarks for backup or for installation on a second computer?I have an extensive collection of bookmarks on my main development machine, and I rely on them constantly. It would be a great convenience to be able to use them on my laptop on the rare occasions when I use it for development.Thanks, that looks promising. Maybe I'll do a simple AppleScript to save it and restore it.Here are AppleScript scripts to archive and restore Xcode bookmarks. Tested only on Mac OS X 10.6.4 and Xcode 3.2.3. I successfully archived 79 bookmarks from one machine and restored them on another machine.-- Xcode Bookmarks-Archive-- Version 1.0 Bill Cheeseman 2010-07-01property xcodePrefsPath : (path to preferences as string) & "com.apple.Xcode.plist"property bookmarksKey : "kDSMBookmarkManagerAllBookmarksUserDefaultsKey"tell application "Finder" to set bookmarksFile to choose file name with prompt "Archive Xcode bookmarks to:" default name "Xcode Bookmarks" default location (path to desktop)set fileRef to open for access bookmarksFile with write permissiontry tell application "System Events" to set bookmarks to value of property list item bookmarksKey of property list file xcodePrefsPath write bookmarks to fileRef close access fileRefon error close access fileRefend try-- Xcode Bookmarks-Restore-- Version 1.0 Bill Cheeseman 2010-07-01property xcodePrefsPath : (path to preferences as string) & "com.apple.Xcode.plist"property bookmarksKey : "kDSMBookmarkManagerAllBookmarksUserDefaultsKey"if running of application "Xcode" then tell application "Finder" to display alert "Xcode is running" message "Quit Xcode and run the Restore Xcode Bookmarks script again" buttons {"OK"} default button "OK" returnend iftell application "Finder" to set bookmarksFile to choose file with prompt "Restore Xcode bookmarks from:" default location (path to desktop)set fileRef to open for access bookmarksFiletry set bookmarks to read fileRef as list tell application "System Events" to set value of property list item bookmarksKey of property list file xcodePrefsPath to bookmarks close access fileRefon error close access fileRefend try
--Bill Cheeseman - bill@xxxxxxxxxxxxxx
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (Xcode-users@xxxxxxxxxxxxxxx)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/maillists%40codeha.us
This email sent to maillists@xxxxxxxxx
|
|