Re: Failed to load debugging library error
Re: Failed to load debugging library error
- Subject: Re: Failed to load debugging library error
- From: Christopher Friesen <email@hidden>
- Date: Fri, 14 Mar 2008 11:37:28 -0700
To avoid loading the introspection dylib and data formatters you
uncheck the menu Run->Variables View->Enable Data Formatters.
-Chris
On Mar 14, 2008, at 10:26 AM, William H. Schultz wrote:
It appears you are using wxWidgets 2.8.3:
DYLIB_CURRENT_VERSION = 2.8.3
The issue in question was fixed a matter of weeks ago. The last
stable release of wxWidgets was November 27th. Therefore, to fix
this issue, you'll have to either wait for wxWidgets 2.8.8 or get a
copy of wxWidgets that is at least as new as revision 51903.
The svn repo: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH/
I'd recommend waiting.
Hank Schultz
<unknown.gif>
http://www.cedrus.com/
On Mar 11, 2008, at 1:37 AM, Roni Music wrote:
Message: 5
Date: Mon, 10 Mar 2008 14:08:01 -0700
From: "William H. Schultz" <email@hidden>
Subject: Re: Failed to load debugging library error
To: Roni Music <email@hidden>
Cc: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset="us-ascii"
See: http://sourceforge.net/tracker/index.php?func=detail&aid=1896410&group_id=9863&atid=309863
This long-standing issue has been fixed in wxWidgets as of revision
51903. This is post-wxWidgets 2.8.7, so the fix will be in 2.8.8
whenever that update comes out. Ultimately, the issue was that
wxWidgets implemented dlopen and related functions, and this really
confused the Xcode debugger.
I tried to follow that advice
#define MAX_OS_X_VERSION_MIN_REQUIRED 1030
in my prefix file but it doesn't change anything
below are the Xcode build settings
ARCHS = i386
VALID_ARCHS = ppc64 ppc7400 ppc970 i386 x86_64 ppc
ADDITIONAL_SDKS =
SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk
SYMROOT = build
OBJROOT = $(SYMROOT)
CONFIGURATION_BUILD_DIR = $(BUILD_DIR)/$(CONFIGURATION)
CONFIGURATION_TEMP_DIR = $(PROJECT_TEMP_DIR)/$(CONFIGURATION)
SHARED_PRECOMPS_DIR = $(CACHE_ROOT)/SharedPrecompiledHeaders
BUILD_VARIANTS = normal
DEBUG_INFORMATION_FORMAT = dwarf
GENERATE_PROFILING_CODE = NO
STRIPFLAGS =
DEPLOYMENT_LOCATION = NO
INSTALL_GROUP = $(GROUP)
INSTALL_OWNER = $(USER)
INSTALL_MODE_FLAG = a-w,a+rX
DSTROOT = /tmp/$(PROJECT_NAME).dst
INSTALL_PATH = /usr/local/lib
SKIP_INSTALL = NO
COPY_PHASE_STRIP = NO
STRIP_INSTALLED_PRODUCT = NO
STRIP_STYLE = debugging
SEPARATE_STRIP = NO
DYLIB_COMPATIBILITY_VERSION = 2.8
DYLIB_CURRENT_VERSION = 2.8.3
LD_DYLIB_INSTALL_NAME =
INIT_ROUTINE =
MACH_O_TYPE = staticlib
ORDER_FILE =
OTHER_LDFLAGS =
LD_MAP_FILE_PATH = $(TARGET_TEMP_DIR)/$(PRODUCT_NAME)-LinkMap-
$(CURRENT_VARIANT)-$(CURRENT_ARCH).txt
PREBINDING = YES
LD_RUNPATH_SEARCH_PATHS =
SECTORDER_FLAGS =
WARNING_LDFLAGS =
LD_GENERATE_MAP_FILE = NO
ZERO_LINK = YES
EXECUTABLE_EXTENSION = a
EXECUTABLE_PREFIX = lib
INFOPLIST_EXPAND_BUILD_SETTINGS = YES
GENERATE_PKGINFO_FILE = NO
FRAMEWORK_VERSION = A
INFOPLIST_FILE =
COPYING_PRESERVES_HFS_DATA = NO
PRIVATE_HEADERS_FOLDER_PATH = /usr/local/include
PRODUCT_NAME = $(PRODUCT_NAME)_static
PUBLIC_HEADERS_FOLDER_PATH = /usr/local/include
WRAPPER_EXTENSION =
ALWAYS_SEARCH_USER_PATHS = NO
FRAMEWORK_SEARCH_PATHS =
HEADER_SEARCH_PATHS =
LIBRARY_SEARCH_PATHS =
REZ_SEARCH_PATHS =
EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj
*.framework *.gch
(*) CVS .svn *.xcodeproj *.xcode *.pbproj *.pbxproj
INCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES =
USER_HEADER_SEARCH_PATHS = ${SYMROOT}/include ../include mac/carbon/
morefilex
common jpeg png regex expat/lib tiff
CURRENT_PROJECT_VERSION =
VERSION_INFO_FILE = $(PRODUCT_NAME)_vers.c
VERSION_INFO_EXPORT_DECL =
VERSION_INFO_PREFIX =
VERSION_INFO_SUFFIX =
VERSIONING_SYSTEM =
VERSION_INFO_BUILDER = $(USER)
GCC_FAST_OBJC_DISPATCH = YES
GCC_AUTO_VECTORIZATION = NO
GCC_OBJC_CALL_CXX_CDTORS = NO
GCC_ENABLE_SSE3_EXTENSIONS = NO
GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS = NO
GCC_STRICT_ALIASING = NO
GCC_FEEDBACK_DIRECTED_OPTIMIZATION = Off
GCC_ENABLE_FIX_AND_CONTINUE = YES
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
GCC_DYNAMIC_NO_PIC = NO
GCC_GENERATE_TEST_COVERAGE_FILES = NO
GCC_INLINES_ARE_PRIVATE_EXTERN = NO
GCC_MODEL_TUNING = G4
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
GCC_DEBUGGING_SYMBOLS = default
GCC_REUSE_STRINGS = YES
GCC_NO_COMMON_BLOCKS = NO
GCC_ENABLE_OBJC_GC = unsupported
GCC_OPTIMIZATION_LEVEL = 0
GCC_FAST_MATH = NO
GCC_ENABLE_SYMBOL_SEPARATION = NO
GCC_THREADSAFE_STATICS = YES
GCC_SYMBOLS_PRIVATE_EXTERN = NO
GCC_UNROLL_LOOPS = NO
GCC_MODEL_PPC64 = NO
GCC_CHAR_IS_UNSIGNED_CHAR = NO
GCC_ENABLE_ASM_KEYWORD = YES
GCC_PFE_FILE_C_DIALECTS = c++
GCC_C_LANGUAGE_STANDARD = compiler-default
GCC_CW_ASM_SYNTAX = YES
GCC_INPUT_FILETYPE = automatic
GCC_ALTIVEC_EXTENSIONS = NO
GCC_ENABLE_CPP_EXCEPTIONS = YES
GCC_ENABLE_CPP_RTTI = YES
GCC_ENABLE_OBJC_EXCEPTIONS = YES
GCC_ENABLE_TRIGRAPHS = NO
GCC_INCREASE_PRECOMPILED_HEADER_SHARING = NO
OTHER_CFLAGS =
OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS)
GCC_PRECOMPILE_PREFIX_HEADER = YES
GCC_PREFIX_HEADER = RolfsPrefix.h
GCC_ENABLE_PASCAL_STRINGS = YES
GCC_SHORT_ENUMS = NO
GCC_USE_GCC3_PFE_SUPPORT = YES
GCC_ONE_BYTE_BOOL = NO
GCC_PREPROCESSOR_DEFINITIONS = NO_GCC_PRAGMA __WXMAC__
wxUSE_UNICODE=1
wxUSE_BASE=1 _FILE_OFFSET_BITS=64 _LARGE_FILES __WXMAC_XCODE__=1
WX_PRECOMP=1
MACOS_CLASSIC __WXDEBUG__=1
GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS =
GCC_WARN_CHECK_SWITCH_STATEMENTS = YES
GCC_WARN_EFFECTIVE_CPLUSPLUS_VIOLATIONS = NO
GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO
GCC_WARN_SHADOW = NO
GCC_WARN_64_TO_32_BIT_CONVERSION = NO
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = YES
GCC_WARN_INHIBIT_ALL_WARNINGS = NO
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO
GCC_WARN_ABOUT_RETURN_TYPE = NO
GCC_WARN_MISSING_PARENTHESES = NO
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO
GCC_WARN_ABOUT_MISSING_NEWLINE = NO
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = NO
WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO
GCC_WARN_PEDANTIC = NO
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = YES
GCC_WARN_PROTOTYPE_CONVERSION = NO
GCC_WARN_SIGN_COMPARE = NO
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO
GCC_TREAT_NONCONFORMANT_CODE_ERRORS_AS_WARNINGS = NO
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = NO
GCC_WARN_UNINITIALIZED_AUTOS = NO
GCC_WARN_UNKNOWN_PRAGMAS = NO
GCC_WARN_UNUSED_FUNCTION = NO
GCC_WARN_UNUSED_LABEL = NO
GCC_WARN_UNUSED_PARAMETER = NO
GCC_WARN_UNUSED_VALUE = NO
GCC_WARN_UNUSED_VARIABLE = NO
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = YES
GCC_VERSION_i386 = 4.0
GCC_VERSION_ppc = 3.3
MACOSX_DEPLOYMENT_TARGET_i386 = 10.4
MACOSX_DEPLOYMENT_TARGET_ppc = 10.3
USE_HEADERMAP = NO
USE_SEPARATE_HEADERMAPS = YES
-------------------------------
Hank Schultz
Cedrus Corporation
http://www.cedrus.com/
On Mar 10, 2008, at 4:42 AM, Roni Music wrote:
Hi,
I'm building a Carbon application using Xcode 3. The app is linked
against a static library (wxWidgets)
that I've also compiled with Xcode 3.
The app builds and works OK but in debug build I get the error
below. I can continue debugging after that
but some symbols are not displayed.
Thanks for any help
Rolf
---------------
Debugger Error
Failed to load debugging library at:
/Developer/Applications/Xcode.app/Contents/PlugIns/
GDBMIDebugging.xcplugin/Conte
nts/Resources/PBGDBIntrospectionSupport.A.dylib
Custom data formatters are disabled.
Error message was:
0x3fa700 "2: Not an recognisable object file"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden