#14058 closed bug (fixed)
DEBUG builds need fixed for all architectures
Reported by: | kallisti5 | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | Build System | Version: | R1/Development |
Keywords: | build | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
All of the sDEBUG builds fail for various reasons.
buildbot is configured to do debug builds of Haiku on commit as well, but all architectures generally fail.
Example:
jam -q -j2 -sDEBUG=1 @minimum-raw . . . Link /home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/packagefs /home/kallisti5/Code/haiku/generated.x86_64-debug/cross-tools-x86_64/lib/gcc/x86_64-unknown-haiku/5.4.0/../../../../x86_64-unknown-haiku/bin/ld: /home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/DataReader.o: relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC /home/kallisti5/Code/haiku/generated.x86_64-debug/cross-tools-x86_64/lib/gcc/x86_64-unknown-haiku/5.4.0/../../../../x86_64-unknown-haiku/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/linux/lib ; /home/kallisti5/Code/haiku/build/scripts/rm_attrs /home/kallisti5/Code/haiku/generated.x86_64-debug/objects/linux/x86_64/release/tools/rm_attrs -f "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/packagefs" /home/kallisti5/Code/haiku/generated.x86_64-debug/cross-tools-x86_64/bin/x86_64-unknown-haiku-gcc -fno-strict-aliasing -fno-tree-vrp -Wno-array-bounds -Xlinker --no-undefined -shared -nostdlib -Xlinker --no-undefined -Xlinker -soname="packagefs" -z max-page-size=0x1000 -o "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/packagefs" "/home/kallisti5/Code/haiku/generated.x86_64-debug/cross-tools-x86_64/lib/gcc/x86_64-unknown-haiku/5.4.0/crtbeginS.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/system/glue/haiku_version_glue.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/AttributeCookie.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/AttributeDirectoryCookie.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/AttributeIndex.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/AutoPackageAttributeDirectoryCookie.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/AutoPackageAttributes.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/BlockBufferPoolKernel.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/CachedDataReader.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/DebugSupport.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/Dependency.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/Directory.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/EmptyAttributeDirectoryCookie.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/GlobalFactory.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/Index.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/IndexedAttributeOwner.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/kernel_interface.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/LastModifiedIndex.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/NameIndex.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/Node.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/NodeListener.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/OldUnpackingNodeAttributes.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/Query.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/Package.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageDirectory.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageFile.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageFSRoot.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageLeafNode.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageLinksDirectory.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageLinksListener.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageNode.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageNodeAttribute.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackagesDirectory.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageSettings.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageSymlink.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/Resolvable.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/ResolvableFamily.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/SizeIndex.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/String.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/StringConstants.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/StringPool.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/UnpackingAttributeCookie.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/UnpackingAttributeDirectoryCookie.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/UnpackingDirectory.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/UnpackingLeafNode.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/UnpackingNode.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/Version.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/Volume.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/QueryParserUtils.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/BlockBufferPoolImpl.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/BufferPool.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/DataReader.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/ErrorOutput.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/FDDataReader.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/HPKGDefs.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PoolBuffer.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageContentHandler.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageData.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageDataReader.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageEntry.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageEntryAttribute.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageFileHeapAccessorBase.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageFileHeapReader.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageReaderImpl.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/ReaderImplBase.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/HPKGDefsV1.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageContentHandlerV1.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageDataV1.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageDataReaderV1.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageEntryV1.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageEntryAttributeV1.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/PackageReaderImplV1.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/ReaderImplBaseV1.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/NaturalCompare.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/FdIO.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/CompressionAlgorithm.o" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/add-ons/kernel/file_systems/packagefs/ZlibCompressionAlgorithm.o" \ "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/system/kernel/lib/zlib/kernel_libz.a" "/home/kallisti5/Code/haiku/generated.x86_64-debug/objects/haiku/x86_64/debug_1/system/kernel/kernel.so" "/home/kallisti5/Code/haiku/generated.x86_64-debug/build_packages/gcc_syslibs_devel-5.4.0_2016_06_04-7-x86_64/develop/lib/libgcc-kernel.a" "/home/kallisti5/Code/haiku/generated.x86_64-debug/cross-tools-x86_64/lib/gcc/x86_64-unknown-haiku/5.4.0/crtendS.o" \
I'm tempted to just disable the debug builds (for now) since it is just broken trash in our buildbot.
Change History (9)
comment:1 by , 7 years ago
comment:3 by , 7 years ago
For https://buildbot.haiku-os.org/builders/haiku-master-x86_64-debug/ the broken build appeared between hrev51777 and hrev51788
comment:5 by , 7 years ago
arm and ppc builds should be adjusted to match the non-debug builds (@minimum-raw).
comment:6 by , 7 years ago
x86_gcc2 and x86_64 builds are fixed. What needs to be done to have the updated buildbot master configuration active?
comment:7 by , 7 years ago
Thanks!
The buildbot configuration you updated is for the new build system on maui (build.haiku-os.org)
Someone with baron access has to update the old (current) builder (buildbot.haiku-os.org)
I'll update the old one inline with your changes over the next day or two. (unless someone else with baron access wants to)
comment:8 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Debug builds are now working properly.
comment:9 by , 5 years ago
Milestone: | Unscheduled → R1/beta2 |
---|
Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone
Aren't debug builds one time per week? x86_gcc2-debug doesn't fail at least, so not all architectures are broken.