pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
cmake build error on NetBSD 9.1
Is this a known problem? Popped up during pkg_chk -su.
cc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/home/bacon/Pkgsrc/pkg/include
-I/home/bacon/Pkgsrc/pkg/include/krb5 -I/usr/include
-I/home/bacon/Pkgsrc/pkg/include/ncurses
-I/home/bacon/Pkgsrc/pkg/include -I/home/bacon/Pkgsrc/pkg/include
-DCMAKE_BOOTSTRAP
-I/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/cmake-3.21.3/Bootstrap.cmk
-I/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/cmake-3.21.3/Source
-I/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/cmake-3.21.3/Source/LexerParser
-I/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/cmake-3.21.3/Utilities
-DKWSYS_NAMESPACE=cmsys -c
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/cmake-3.21.3/Source/kwsys/Terminal.c
-o Terminal.o
c++ -Wl,-z,relro -Wl,-z,now -L/home/bacon/Pkgsrc/pkg/lib
-Wl,-R/home/bacon/Pkgsrc/pkg/lib -lexecinfo -L/usr/lib -Wl,-R/usr/lib
-O2 -fPIC -D_FORTIFY_SOURCE=2 -I/home/bacon/Pkgsrc/pkg/include
-I/home/bacon/Pkgsrc/pkg/include/krb5 -I/usr/include
-I/home/bacon/Pkgsrc/pkg/include/ncurses -D_NETBSD_SOURCE
-I/home/bacon/Pkgsrc/pkg/include -I/home/bacon/Pkgsrc/pkg/include
-DCMAKE_BOOTSTRAP
-I/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/cmake-3.21.3/Bootstrap.cmk
-I/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/cmake-3.21.3/Source
-I/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/cmake-3.21.3/Source/LexerParser
-I/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/cmake-3.21.3/Utilities/std
-I/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/cmake-3.21.3/Utilities
cmAddCustomCommandCommand.o cmAddCustomTargetCommand.o
cmAddDefinitionsCommand.o cmAddDependenciesCommand.o
cmAddExecutableCommand.o cmAddLibraryCommand.o
cmAddSubDirectoryCommand.o cmAddTestCommand.o cmArgumentParser.o
cmBinUtilsLinker.o cmBinUtilsLinuxELFGetRuntimeDependenciesTool.o
cmBinUtilsLinuxELFLinker.o
cmBinUtilsLinuxELFObjdumpGetRuntimeDependenciesTool.o
cmBinUtilsMacOSMachOGetRuntimeDependenciesTool.o
cmBinUtilsMacOSMachOLinker.o
cmBinUtilsMacOSMachOOToolGetRuntimeDependenciesTool.o
cmBinUtilsWindowsPEGetRuntimeDependenciesTool.o
cmBinUtilsWindowsPEDumpbinGetRuntimeDependenciesTool.o
cmBinUtilsWindowsPELinker.o
cmBinUtilsWindowsPEObjdumpGetRuntimeDependenciesTool.o cmBreakCommand.o
cmBuildCommand.o cmCMakeMinimumRequired.o cmCMakePath.o
cmCMakePathCommand.o cmCMakePolicyCommand.o cmCPackPropertiesGenerator.o
cmCacheManager.o cmCommand.o cmCommandArgumentParserHelper.o
cmCommands.o cmCommonTargetGenerator.o cmComputeComponentGraph.o
cmComputeLinkDepends.o cmComputeLinkInformation.o
cmComputeTargetDepends.o cmConsoleBuf.o cmConditionEvaluator.o
cmConfigureFileCommand.o cmContinueCommand.o cmCoreTryCompile.o
cmCreateTestSourceList.o cmCryptoHash.o cmCustomCommand.o
cmCustomCommandGenerator.o cmCustomCommandLines.o
cmDefinePropertyCommand.o cmDefinitions.o cmDocumentationFormatter.o
cmEnableLanguageCommand.o cmEnableTestingCommand.o
cmExecProgramCommand.o cmExecuteProcessCommand.o
cmExpandedCommandArgument.o cmExportBuildFileGenerator.o
cmExportFileGenerator.o cmExportInstallFileGenerator.o cmExportSet.o
cmExportTryCompileFileGenerator.o cmExprParserHelper.o
cmExternalMakefileProjectGenerator.o cmFileCommand.o cmFileCopier.o
cmFileInstaller.o cmFileTime.o cmFileTimeCache.o cmFileTimes.o
cmFindBase.o cmFindCommon.o cmFindFileCommand.o cmFindLibraryCommand.o
cmFindPackageCommand.o cmFindPathCommand.o cmFindProgramCommand.o
cmForEachCommand.o cmFunctionBlocker.o cmFunctionCommand.o
cmFSPermissions.o cmGeneratedFileStream.o cmGeneratorExpression.o
cmGeneratorExpressionContext.o cmGeneratorExpressionDAGChecker.o
cmGeneratorExpressionEvaluationFile.o cmGeneratorExpressionEvaluator.o
cmGeneratorExpressionLexer.o cmGeneratorExpressionNode.o
cmGeneratorExpressionParser.o cmGeneratorTarget.o
cmGetCMakePropertyCommand.o cmGetDirectoryPropertyCommand.o
cmGetFilenameComponentCommand.o cmGetPipes.o cmGetPropertyCommand.o
cmGetSourceFilePropertyCommand.o cmGetTargetPropertyCommand.o
cmGetTestPropertyCommand.o cmGlobalCommonGenerator.o cmGlobalGenerator.o
cmGlobVerificationManager.o cmHexFileConverter.o cmIfCommand.o
cmIncludeCommand.o cmIncludeGuardCommand.o cmIncludeDirectoryCommand.o
cmIncludeRegularExpressionCommand.o cmInstallCommand.o
cmInstallCommandArguments.o cmInstallDirectoryGenerator.o
cmInstallExportGenerator.o cmInstallFilesCommand.o
cmInstallFilesGenerator.o cmInstallGenerator.o
cmInstallGetRuntimeDependenciesGenerator.o
cmInstallImportedRuntimeArtifactsGenerator.o
cmInstallRuntimeDependencySet.o cmInstallRuntimeDependencySetGenerator.o
cmInstallScriptGenerator.o cmInstallSubdirectoryGenerator.o
cmInstallTargetGenerator.o cmInstallTargetsCommand.o cmInstalledFile.o
cmLDConfigLDConfigTool.o cmLDConfigTool.o cmLinkDirectoriesCommand.o
cmLinkItem.o cmLinkItemGraphVisitor.o cmLinkLineComputer.o
cmLinkLineDeviceComputer.o cmListCommand.o cmListFileCache.o
cmLocalCommonGenerator.o cmLocalGenerator.o cmMSVC60LinkLineComputer.o
cmMacroCommand.o cmMakeDirectoryCommand.o cmMakefile.o
cmMarkAsAdvancedCommand.o cmMathCommand.o cmMessageCommand.o
cmMessenger.o cmNewLineStyle.o cmOSXBundleGenerator.o cmOptionCommand.o
cmOrderDirectories.o cmOutputConverter.o cmParseArgumentsCommand.o
cmPathLabel.o cmPolicies.o cmProcessOutput.o cmProjectCommand.o
cmPropertyDefinition.o cmPropertyMap.o cmGccDepfileLexerHelper.o
cmGccDepfileReader.o cmReturnCommand.o cmRulePlaceholderExpander.o
cmRuntimeDependencyArchive.o cmScriptGenerator.o cmSearchPath.o
cmSeparateArgumentsCommand.o cmSetCommand.o
cmSetDirectoryPropertiesCommand.o cmSetPropertyCommand.o
cmSetSourceFilesPropertiesCommand.o cmSetTargetPropertiesCommand.o
cmSetTestsPropertiesCommand.o cmSiteNameCommand.o cmSourceFile.o
cmSourceFileLocation.o cmStandardLevelResolver.o cmState.o
cmStateDirectory.o cmStateSnapshot.o cmString.o cmStringAlgorithms.o
cmStringReplaceHelper.o cmStringCommand.o cmSubcommandTable.o
cmSubdirCommand.o cmSystemTools.o cmTarget.o
cmTargetCompileDefinitionsCommand.o cmTargetCompileFeaturesCommand.o
cmTargetCompileOptionsCommand.o cmTargetIncludeDirectoriesCommand.o
cmTargetLinkLibrariesCommand.o cmTargetLinkOptionsCommand.o
cmTargetPrecompileHeadersCommand.o cmTargetPropCommandBase.o
cmTargetPropertyComputer.o cmTargetSourcesCommand.o cmTest.o
cmTestGenerator.o cmTimestamp.o cmTransformDepfile.o
cmTryCompileCommand.o cmTryRunCommand.o cmUnsetCommand.o cmUVHandlePtr.o
cmUVProcessChain.o cmVersion.o cmWhileCommand.o cmWorkingDirectory.o
cmake.o cmakemain.o cmcmd.o cmDepends.o cmDependsC.o cmDependsCompiler.o
cmGlobalUnixMakefileGenerator3.o cmLocalUnixMakefileGenerator3.o
cmMakefileExecutableTargetGenerator.o cmMakefileLibraryTargetGenerator.o
cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o
cmProcessTools.o fs_path.o string_view.o cmCommandArgumentLexer.o
cmCommandArgumentParser.o cmExprLexer.o cmExprParser.o
cmGccDepfileLexer.o cmListFileLexer.o Directory.o EncodingCXX.o
FStream.o Glob.o RegularExpression.o Status.o SystemTools.o EncodingC.o
ProcessUNIX.o String.o System.o Terminal.o -lkvm -luv -lrhash -lcrypto
-o cmake
ld:
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(rhash.o):
relocation R_X86_64_32 against `.rodata.rhash_file.str1.1' can not be
used when making a PIE object; recompile with -fPIC
ld:
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(hex.o):
relocation R_X86_64_32S against `.LC0' can not be used when making a PIE
object; recompile with -fPIC
ld:
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(plug_openssl.o):
relocation R_X86_64_32 against undefined symbol
`rhash_openssl_hash_info' can not be used when making a PIE object;
recompile with -fPIC
ld:
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(crc32.o):
relocation R_X86_64_32 against `.text.calculate_crc32c_sse42' can not be
used when making a PIE object; recompile with -fPIC
ld:
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(sha256.o):
relocation R_X86_64_32 against `.rodata.rhash_k256' can not be used when
making a PIE object; recompile with -fPIC
ld:
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(sha512.o):
relocation R_X86_64_32 against `.rodata.rhash_k512' can not be used when
making a PIE object; recompile with -fPIC
ld:
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(sha3.o):
relocation R_X86_64_32S against `.rodata.keccak_round_constants' can not
be used when making a PIE object; recompile with -fPIC
ld:
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(gost12.o):
relocation R_X86_64_32S against `.rodata.TR' can not be used when making
a PIE object; recompile with -fPIC
ld:
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(gost94.o):
relocation R_X86_64_32 against symbol `rhash_gost94_sbox' can not be
used when making a PIE object; recompile with -fPIC
ld:
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(snefru.o):
relocation R_X86_64_32 against `.rodata.rhash_snefru_sbox' can not be
used when making a PIE object; recompile with -fPIC
ld:
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(tiger.o):
relocation R_X86_64_32S against symbol `rhash_tiger_sboxes' can not be
used when making a PIE object; recompile with -fPIC
ld:
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(torrent.o):
relocation R_X86_64_32 against `.rodata.bt_final.str1.1' can not be used
when making a PIE object; recompile with -fPIC
ld:
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/.buildlink/lib/librhash.a(whirlpool.o):
relocation R_X86_64_32 against `.rodata.rc.3529' can not be used when
making a PIE object; recompile with -fPIC
ld: final link failed: nonrepresentable section on output
make: *** [Makefile:2: cmake] Error 1
---------------------------------------------
Error when bootstrapping CMake:
Problem while running make
---------------------------------------------
Log of errors:
/home/bacon/Pkgsrc/pkgsrc/devel/cmake/work/cmake-3.21.3/Bootstrap.cmk/cmake_bootstrap.log
---------------------------------------------
*** Error code 9
Stop.
bmake[2]: stopped in /home/bacon/Pkgsrc/pkgsrc/devel/cmake
*** Error code 1
Stop.
bmake[1]: stopped in /home/bacon/Pkgsrc/pkgsrc/devel/cmake
*** Error code 1
Stop.
bmake: stopped in /home/bacon/Pkgsrc/pkgsrc/devel/cmake
** 'cd /home/bacon/Pkgsrc/pkgsrc/devel/cmake &&
/home/bacon/Pkgsrc/pkg/bin/bmake update CLEANDEPENDS=yes' failed
** ** 'cd /home/bacon/Pkgsrc/pkgsrc/devel/cmake &&
/home/bacon/Pkgsrc/pkg/bin/bmake update CLEANDEPENDS=yes' failed
NetBSD netbsd9.acadix bacon ~ 1002:
Home |
Main Index |
Thread Index |
Old Index