View Issue Details

IDProjectCategoryView StatusLast Update
0018303FPCUtilitiespublic2010-12-23 15:41
ReporterAmit Bueno Assigned ToJonas Maebe  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionwon't fix 
PlatformiOS -- iPhone/iPODOSiOS 
Product Version2.5.1 
Summary0018303: Can not compile sample in xcode environment
DescriptionWhen creating a new fpc application from the templates installed in the xcode after installing the fpc ontop of the xcode, and picking the iPhone app.

It raise an exception -- log attached
Steps To ReproduceXcode v3.2.5 installation on mac osx
fpc v2.5.1 installation on the mac
creating a new project in xcode
picking iPhone application
running Build, or build and archive
TagsNo tags attached.
Fixed in Revision
FPCOldBugId
FPCTarget
Attached Files

Activities

2010-12-23 15:30

 

BuildLog_2010-12-23_15-06-47.txt (22,123 bytes)   
Build fpc of project Untitled with configuration Release

PhaseScriptExecution "Compile Pascal Sources" build/Untitled.build/Release-iphonesimulator/fpc.build/Script-928301560F10E04C00CC5A3C.sh
cd "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled"
setenv ACTION build
setenv ALTERNATE_GROUP staff
setenv ALTERNATE_MODE u+w,go-w,a+rX
setenv ALTERNATE_OWNER amitbueno
setenv ALWAYS_SEARCH_USER_PATHS NO
setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer
setenv APPLE_INTERNAL_DIR /AppleInternal
setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/Documentation
setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library
setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools
setenv APPLY_RULES_IN_COPY_FILES NO
setenv ARCHS i386
setenv ARCHS_STANDARD_32_BIT i386
setenv ARCHS_UNIVERSAL_IPHONE_OS i386
setenv BUILD_COMPONENTS "headers build"
setenv BUILD_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build"
setenv BUILD_ROOT "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build"
setenv BUILD_STYLE Release
setenv BUILD_VARIANTS normal
setenv BUILT_PRODUCTS_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Release-iphonesimulator"
setenv CACHE_ROOT /var/folders/Ut/UtfhFuAFEhSG4Z8d3WfRxk+++TI/-Caches-/com.apple.Xcode.501
setenv CCHROOT /var/folders/Ut/UtfhFuAFEhSG4Z8d3WfRxk+++TI/-Caches-/com.apple.Xcode.501
setenv CHMOD /bin/chmod
setenv CHOWN /usr/sbin/chown
setenv CLASS_FILE_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/JavaClasses"
setenv CLEAN_PRECOMPS YES
setenv CLONE_HEADERS NO
setenv CODESIGNING_FOLDER_PATH "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Release-iphonesimulator/libfpc.a"
setenv CODE_SIGN_CONTEXT_CLASS XCCodeSignContext
setenv COMMAND_MODE legacy
setenv COMPOSITE_SDK_DIRS /var/folders/Ut/UtfhFuAFEhSG4Z8d3WfRxk+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs
setenv COMPRESS_PNG_FILES YES
setenv CONFIGURATION Release
setenv CONFIGURATION_BUILD_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Release-iphonesimulator"
setenv CONFIGURATION_TEMP_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator"
setenv COPYING_PRESERVES_HFS_DATA NO
setenv COPY_PHASE_STRIP YES
setenv COPY_RESOURCES_FROM_STATIC_FRAMEWORKS YES
setenv CP /bin/cp
setenv CURRENT_ARCH i386
setenv CURRENT_VARIANT normal
setenv DEAD_CODE_STRIPPING NO
setenv DEBUGGING_SYMBOLS YES
setenv DEBUG_INFORMATION_FORMAT dwarf-with-dsym
setenv DEPLOYMENT_LOCATION NO
setenv DEPLOYMENT_POSTPROCESSING NO
setenv DERIVED_FILES_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/DerivedSources"
setenv DERIVED_FILE_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/DerivedSources"
setenv DERIVED_SOURCES_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/DerivedSources"
setenv DEVELOPER_APPLICATIONS_DIR /Developer/Applications
setenv DEVELOPER_BIN_DIR /Developer/usr/bin
setenv DEVELOPER_DIR /Developer
setenv DEVELOPER_FRAMEWORKS_DIR /Developer/Library/Frameworks
setenv DEVELOPER_FRAMEWORKS_DIR_QUOTED "\"/Developer/Library/Frameworks\""
setenv DEVELOPER_LIBRARY_DIR /Developer/Library
setenv DEVELOPER_SDK_DIR /Developer/SDKs
setenv DEVELOPER_TOOLS_DIR /Developer/Tools
setenv DEVELOPER_USR_DIR /Developer/usr
setenv DEVELOPMENT_LANGUAGE English
setenv DO_HEADER_SCANNING_IN_JAM NO
setenv DSTROOT /tmp/Untitled.dst
setenv DWARF_DSYM_FILE_NAME libfpc.a.dSYM
setenv DWARF_DSYM_FOLDER_PATH "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Release-iphonesimulator"
setenv EFFECTIVE_PLATFORM_NAME -iphonesimulator
setenv ENABLE_HEADER_DEPENDENCIES YES
setenv ENABLE_OPENMP_SUPPORT NO
setenv EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS ".svn .git CVS"
setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES "*.nib *.lproj *.framework *.gch (*) CVS .svn .git *.xcodeproj *.xcode *.pbproj *.pbxproj"
setenv EXECUTABLE_EXTENSION a
setenv EXECUTABLE_NAME libfpc.a
setenv EXECUTABLE_PATH libfpc.a
setenv EXECUTABLE_PREFIX lib
setenv EXECUTABLE_SUFFIX .a
setenv FILE_LIST "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/Objects/LinkFileList"
setenv FIXED_FILES_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/FixedFiles"
setenv FPC_COMMON_OPTIONS "-Mmacpas -Sgix -Cfvfpv2"
setenv FPC_COMPILER_BINARY_DIR /usr/local/lib/fpc/2.5.1
setenv FPC_MAIN_FILE "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/PascalLibrary.pas"
setenv FPC_RTL_UNITS_BASE /usr/local/lib/fpc
setenv FPC_SPECIFIC_OPTIONS "-Ci- -Cr- -Co- -O-2 -Xs"
setenv FPC_UNITS_PATH "-Fu\"/Users/amitbueno/Documents/untitled folder 2/un2/Untitled\""
setenv FRAMEWORK_FLAG_PREFIX -framework
setenv FRAMEWORK_SEARCH_PATHS "\"/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Release-iphonesimulator\" "
setenv FRAMEWORK_VERSION A
setenv FULL_PRODUCT_NAME libfpc.a
setenv GCC3_VERSION 3.3
setenv GCC_C_LANGUAGE_STANDARD c99
setenv GCC_ENABLE_FIX_AND_CONTINUE NO
setenv GCC_ENABLE_SYMBOL_SEPARATION NO
setenv GCC_OBJC_LEGACY_DISPATCH YES
setenv GCC_PFE_FILE_C_DIALECTS "c objective-c c++ objective-c++"
setenv GCC_TREAT_WARNINGS_AS_ERRORS NO
setenv GCC_VERSION 4.2
setenv GCC_VERSION_IDENTIFIER __2
setenv GCC_WARN_ABOUT_RETURN_TYPE YES
setenv GCC_WARN_UNUSED_VARIABLE YES
setenv GENERATE_MASTER_OBJECT_FILE NO
setenv GENERATE_PKGINFO_FILE NO
setenv GENERATE_PROFILING_CODE NO
setenv GID 20
setenv GROUP staff
setenv HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT YES
setenv HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES YES
setenv HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS YES
setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES
setenv HEADER_SEARCH_PATHS "\"/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Release-iphonesimulator/include\" "
setenv ICONV /usr/bin/iconv
setenv INFOPLIST_EXPAND_BUILD_SETTINGS YES
setenv INFOPLIST_OUTPUT_FORMAT binary
setenv INFOPLIST_PREPROCESS NO
setenv INSTALL_DIR /tmp/Untitled.dst/usr/local/lib
setenv INSTALL_GROUP staff
setenv INSTALL_MODE_FLAG u+w,go-w,a+rX
setenv INSTALL_OWNER amitbueno
setenv INSTALL_PATH /usr/local/lib
setenv INSTALL_ROOT /tmp/Untitled.dst
setenv IPHONEOS_DEPLOYMENT_TARGET 4.2
setenv JAVAC_DEFAULT_FLAGS "-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
setenv JAVA_ARCHIVE_CLASSES YES
setenv JAVA_ARCHIVE_TYPE JAR
setenv JAVA_COMPILER /usr/bin/javac
setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources
setenv JAVA_JAR_FLAGS cv
setenv JAVA_SOURCE_SUBDIR .
setenv JAVA_USE_DEPENDENCIES YES
setenv JAVA_ZIP_FLAGS -urg
setenv JIKES_DEFAULT_FLAGS "+E +OLDCSO"
setenv KEEP_PRIVATE_EXTERNS NO
setenv LD_GENERATE_MAP_FILE NO
setenv LD_MAP_FILE_PATH "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/fpc-LinkMap-normal-i386.txt"
setenv LD_OPENMP_FLAGS -fopenmp
setenv LEX /Developer/usr/bin/lex
setenv LIBRARY_FLAG_NOSPACE YES
setenv LIBRARY_FLAG_PREFIX -l
setenv LIBRARY_SEARCH_PATHS "\"/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Release-iphonesimulator\" "
setenv LINKER_DISPLAYS_MANGLED_NAMES NO
setenv LINK_FILE_LIST_normal_i386 "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/Objects-normal/i386/fpc.LinkFileList"
setenv LINK_WITH_STANDARD_LIBRARIES YES
setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities
setenv LOCAL_APPS_DIR /Applications
setenv LOCAL_DEVELOPER_DIR /Library/Developer
setenv LOCAL_LIBRARY_DIR /Library
setenv MACH_O_TYPE staticlib
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv MAC_OS_X_VERSION_ACTUAL 1065
setenv MAC_OS_X_VERSION_MAJOR 1060
setenv MAC_OS_X_VERSION_MINOR 0605
setenv NATIVE_ARCH i386
setenv NATIVE_ARCH_32_BIT i386
setenv NATIVE_ARCH_64_BIT x86_64
setenv NATIVE_ARCH_ACTUAL x86_64
setenv NO_COMMON YES
setenv OBJC_ABI_VERSION 2
setenv OBJECT_FILE_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/Objects"
setenv OBJECT_FILE_DIR_normal "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/Objects-normal"
setenv OBJROOT "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build"
setenv ONLY_ACTIVE_ARCH NO
setenv OPTIMIZATION_LEVEL 0
setenv OS MACOS
setenv OSAC /usr/bin/osacompile
setenv OTHER_LDFLAGS -Wl,-no_order_inits
setenv PACKAGE_TYPE com.apple.package-type.static-library
setenv PASCAL_STRINGS YES
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES "/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Developer/Headers /Developer/SDKs /Developer/Platforms"
setenv PKGINFO_FILE_PATH "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/PkgInfo"
setenv PLATFORM_DEVELOPER_APPLICATIONS_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
setenv PLATFORM_DEVELOPER_BIN_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
setenv PLATFORM_DEVELOPER_LIBRARY_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/Library
setenv PLATFORM_DEVELOPER_SDK_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
setenv PLATFORM_DEVELOPER_TOOLS_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
setenv PLATFORM_DEVELOPER_USR_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/usr
setenv PLATFORM_DIR /Developer/Platforms/iPhoneSimulator.platform
setenv PLATFORM_NAME iphonesimulator
setenv PLATFORM_PRODUCT_BUILD_VERSION 8C134
setenv PLATFORM_VERSION_AVAILABILITY_H_FORMAT 40200
setenv PLIST_FILE_OUTPUT_FORMAT binary
setenv PREBINDING NO
setenv PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR YES
setenv PRECOMP_DESTINATION_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/PrefixHeaders"
setenv PRESERVE_DEAD_CODE_INITS_AND_TERMS NO
setenv PRIVATE_HEADERS_FOLDER_PATH /usr/local/include
setenv PRODUCT_NAME fpc
setenv PRODUCT_SETTINGS_PATH
setenv PRODUCT_TYPE com.apple.product-type.library.static
setenv PROFILING_CODE NO
setenv PROJECT Untitled
setenv PROJECT_DERIVED_FILE_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/DerivedSources"
setenv PROJECT_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled"
setenv PROJECT_FILE_PATH "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/Untitled.xcodeproj"
setenv PROJECT_NAME Untitled
setenv PROJECT_TEMP_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build"
setenv PUBLIC_HEADERS_FOLDER_PATH /usr/local/include
setenv RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS YES
setenv REMOVE_CVS_FROM_RESOURCES YES
setenv REMOVE_GIT_FROM_RESOURCES YES
setenv REMOVE_SVN_FROM_RESOURCES YES
setenv REZ_COLLECTOR_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/ResourceManagerResources"
setenv REZ_EXECUTABLE YES
setenv REZ_OBJECTS_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/ResourceManagerResources/Objects"
setenv REZ_SEARCH_PATHS "\"/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Release-iphonesimulator\" "
setenv RUN_CLANG_STATIC_ANALYZER NO
setenv SCAN_ALL_SOURCE_FILES_FOR_INCLUDES NO
setenv SCRIPT_INPUT_FILE_COUNT 0
setenv SCRIPT_OUTPUT_FILE_COUNT 0
setenv SDKROOT /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk
setenv SDK_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk
setenv SDK_NAME iphonesimulator4.2
setenv SED /usr/bin/sed
setenv SEPARATE_STRIP YES
setenv SEPARATE_SYMBOL_EDIT NO
setenv SET_DIR_MODE_OWNER_GROUP YES
setenv SET_FILE_MODE_OWNER_GROUP NO
setenv SHARED_DERIVED_FILE_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Release-iphonesimulator/DerivedSources"
setenv SHARED_PRECOMPS_DIR /var/folders/Ut/UtfhFuAFEhSG4Z8d3WfRxk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders
setenv SKIP_INSTALL YES
setenv SOURCE_ROOT "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled"
setenv SRCROOT "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled"
setenv STANDARD_C_PLUS_PLUS_LIBRARY_TYPE dynamic
setenv STRINGS_FILE_OUTPUT_ENCODING binary
setenv STRIP_INSTALLED_PRODUCT YES
setenv STRIP_STYLE debugging
setenv SUPPORTED_DEVICE_FAMILIES "1 2"
setenv SYMBOL_REPOSITORY_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/SymbolRepositories"
setenv SYMROOT "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build"
setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities
setenv SYSTEM_APPS_DIR /Applications
setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices
setenv SYSTEM_DEMOS_DIR /Applications/Extras
setenv SYSTEM_DEVELOPER_APPS_DIR /Developer/Applications
setenv SYSTEM_DEVELOPER_BIN_DIR /Developer/usr/bin
setenv SYSTEM_DEVELOPER_DEMOS_DIR "/Developer/Applications/Utilities/Built Examples"
setenv SYSTEM_DEVELOPER_DIR /Developer
setenv SYSTEM_DEVELOPER_DOC_DIR "/Developer/ADC Reference Library"
setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR "/Developer/Applications/Graphics Tools"
setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR "/Developer/Applications/Java Tools"
setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR "/Developer/Applications/Performance Tools"
setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes"
setenv SYSTEM_DEVELOPER_TOOLS /Developer/Tools
setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR "/Developer/ADC Reference Library/documentation/DeveloperTools"
setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes/DeveloperTools"
setenv SYSTEM_DEVELOPER_USR_DIR /Developer/usr
setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Developer/Applications/Utilities
setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation
setenv SYSTEM_LIBRARY_DIR /System/Library
setenv TARGETED_DEVICE_FAMILY 1,2
setenv TARGETNAME fpc
setenv TARGET_BUILD_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Release-iphonesimulator"
setenv TARGET_NAME fpc
setenv TARGET_TEMP_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build"
setenv TEMP_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build"
setenv TEMP_FILES_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build"
setenv TEMP_FILE_DIR "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build"
setenv TEMP_ROOT "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build"
setenv UID 501
setenv UNSTRIPPED_PRODUCT NO
setenv USER amitbueno
setenv USER_APPS_DIR /Users/amitbueno/Applications
setenv USER_LIBRARY_DIR /Users/amitbueno/Library
setenv USE_DYNAMIC_NO_PIC YES
setenv USE_HEADERMAP YES
setenv USE_HEADER_SYMLINKS NO
setenv VALIDATE_PRODUCT NO
setenv VALID_ARCHS i386
setenv VERBOSE_PBXCP NO
setenv VERSION_INFO_BUILDER amitbueno
setenv VERSION_INFO_FILE fpc_vers.c
setenv VERSION_INFO_STRING "\"@(#)PROGRAM:fpc  PROJECT:Untitled-\""
setenv XCODE_APP_SUPPORT_DIR /Developer/Library/Xcode
setenv XCODE_PRODUCT_BUILD_VERSION 10M2423
setenv XCODE_VERSION_ACTUAL 0325
setenv XCODE_VERSION_MAJOR 0300
setenv XCODE_VERSION_MINOR 0320
setenv YACC /Developer/usr/bin/yacc
setenv ZERO_LINK NO
setenv _REAL_SDKROOT iphoneos
/bin/sh -c "\"/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/fpc.build/Script-928301560F10E04C00CC5A3C.sh\""

Compiling to /Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/DerivedSources-normal/i386
error: Illegal parameter: -Cfvfpv2


Build Untitled of project Untitled with configuration Release

CompileC build/Untitled.build/Release-iphonesimulator/Untitled.build/Objects-normal/i386/PascalLibrary.o build/Untitled.build/Release-iphonesimulator/Untitled.build/DerivedSources-normal/i386/PascalLibrary.s normal i386 assembler-with-cpp com.apple.compilers.gcc.4_2
cd "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled"
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -x assembler-with-cpp -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk -fexceptions -fvisibility=hidden -mmacosx-version-min=10.6 -gdwarf-2 -D__IPHONE_OS_VERSION_MIN_REQUIRED=40200 -iquote "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/Untitled-generated-files.hmap" "-I/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/Untitled-own-target-headers.hmap" "-I/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/Untitled-all-target-headers.hmap" -iquote "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/Untitled-project-headers.hmap" "-F/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Release-iphonesimulator" "-I/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Release-iphonesimulator/include" "-I/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/DerivedSources/i386" "-I/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/DerivedSources" -c "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/DerivedSources-normal/i386/PascalLibrary.s" -o "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/Objects-normal/i386/PascalLibrary.o"

i686-apple-darwin10-gcc-4.2.1: /Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/DerivedSources-normal/i386/PascalLibrary.s: No such file or directory
i686-apple-darwin10-gcc-4.2.1: warning: '-x assembler-with-cpp' after last input file has no effect
i686-apple-darwin10-gcc-4.2.1: no input files
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

CompileC build/Untitled.build/Release-iphonesimulator/Untitled.build/Objects-normal/i386/fpclogo.o build/Untitled.build/Release-iphonesimulator/Untitled.build/DerivedSources-normal/i386/fpclogo.s normal i386 assembler-with-cpp com.apple.compilers.gcc.4_2
cd "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled"
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -x assembler-with-cpp -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk -fexceptions -fvisibility=hidden -mmacosx-version-min=10.6 -gdwarf-2 -D__IPHONE_OS_VERSION_MIN_REQUIRED=40200 -iquote "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/Untitled-generated-files.hmap" "-I/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/Untitled-own-target-headers.hmap" "-I/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/Untitled-all-target-headers.hmap" -iquote "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/Untitled-project-headers.hmap" "-F/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Release-iphonesimulator" "-I/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Release-iphonesimulator/include" "-I/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/DerivedSources/i386" "-I/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/DerivedSources" -c "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/DerivedSources-normal/i386/fpclogo.s" -o "/Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/Objects-normal/i386/fpclogo.o"

i686-apple-darwin10-gcc-4.2.1: /Users/amitbueno/Documents/untitled folder 2/un2/Untitled/build/Untitled.build/Release-iphonesimulator/Untitled.build/DerivedSources-normal/i386/fpclogo.s: No such file or directory
i686-apple-darwin10-gcc-4.2.1: warning: '-x assembler-with-cpp' after last input file has no effect
i686-apple-darwin10-gcc-4.2.1: no input files
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

Jonas Maebe

2010-12-23 15:41

manager   ~0044524

Last edited: 2010-12-23 15:41

This is the error:

error: Illegal parameter: -Cfvfpv2

-Cfvfpv2 is only supported when compiling for the device. There is currently no way specify separate parameters when compiling for the simulator or for the device, so for now you have to manually add/remove that parameter from the FPC_SPECIFIC_OPTIONS when switching (or change the compilation shell scripts part of the template).

The templates will no longer be maintained by the FPC core team in the future because Xcode changes too much too often. It's simply too much work to keep running after it in addition to fixing/updating the compiler itself. Someone else will take over the development of the templates, but these are not derived from the current templates and hence this particular problem will no longer be there.

Issue History

Date Modified Username Field Change
2010-12-23 15:30 Amit Bueno New Issue
2010-12-23 15:30 Amit Bueno File Added: BuildLog_2010-12-23_15-06-47.txt
2010-12-23 15:41 Jonas Maebe Status new => resolved
2010-12-23 15:41 Jonas Maebe Resolution open => won't fix
2010-12-23 15:41 Jonas Maebe Assigned To => Jonas Maebe
2010-12-23 15:41 Jonas Maebe Note Added: 0044524
2010-12-23 15:41 Jonas Maebe Note Edited: 0044524