Opened 3 months ago
Closed 3 months ago
#18958 closed bug (fixed)
Build failure on 32bit
Reported by: | Begasus | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta5 |
Component: | File Systems/FAT | Version: | R1/beta4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
Recent checkout (hrev57876) produced an error when building on R1B4 32bit.
...updating 13968 target(s)... DetermineHaikuRevision1 build/haiku-revision InitScript1 haiku-floppyboot-init-vars InitScript1 haiku-floppyboot-make-dirs InitScript1 haiku-floppyboot-copy-files C++ objects/haiku_host/x86/release/tools/fat_shell/kernel_interface.o AddTargetVariableToScript1 <unique!target>_target_072 In file included from ../src/add-ons/kernel/file_systems/fat/kernel_interface.cpp:59: ../headers/private/fs_shell/fssh_api_wrapper.h:87: warning: "B_SWAP_DOUBLE" redefined 87 | #define B_SWAP_DOUBLE(arg) FSSH_B_SWAP_DOUBLE(arg) | In file included from /boot/system/develop/headers/bsd/endian.h:16, from ../headers/private/fs_shell/fssh_byte_order.h:8, from ../headers/private/fs_shell/fssh_api_wrapper.h:29: /boot/system/develop/headers/os/support/ByteOrder.h:27: note: this is the location of the previous definition 27 | #define B_SWAP_DOUBLE(arg) __swap_double(arg) | ../headers/private/fs_shell/fssh_api_wrapper.h:88: warning: "B_SWAP_FLOAT" redefined 88 | #define B_SWAP_FLOAT(arg) FSSH_B_SWAP_FLOAT(arg) | /boot/system/develop/headers/os/support/ByteOrder.h:28: note: this is the location of the previous definition 28 | #define B_SWAP_FLOAT(arg) __swap_float(arg) | ../headers/private/fs_shell/fssh_api_wrapper.h:89: warning: "B_SWAP_INT64" redefined 89 | #define B_SWAP_INT64(arg) FSSH_B_SWAP_INT64(arg) | /boot/system/develop/headers/os/support/ByteOrder.h:29: note: this is the location of the previous definition 29 | #define B_SWAP_INT64(arg) __swap_int64(arg) |
...
BuildEFILoader objects/haiku/x86_gcc2/release/system/boot/efi/haiku_loader.efi AppendToContainerCopyFilesScript <FloppyBootArchive>haiku-floppyboot-copy-files-dummy-system/add-ons/kernel/file_systems AppendToContainerCopyFilesScript <FloppyBootArchive>haiku-floppyboot-copy-files-dummy-system/add-ons/kernel/generic In file included from ../src/add-ons/kernel/file_systems/fat/dosfs.h:11, from ../src/add-ons/kernel/file_systems/fat/bsd/sys/buf.h:56, from ../src/add-ons/kernel/file_systems/fat/kernel_interface.cpp:101: ../src/add-ons/kernel/file_systems/fat/kernel_interface.cpp: In function 'fssh_status_t dosfs_readdir(fssh_fs_volume*, fssh_fs_vnode*, void*, fssh_dirent*, fssh_size_t, uint32_t*)': ../src/add-ons/kernel/file_systems/fat/kernel_interface.cpp:2828:69: error: invalid conversion from 'fssh_size_t*' {aka 'unsigned int*'} to 'u_long*' {aka 'long unsigned int*'} [-fpermissive] 2828 | pcbmap(fatNode, logicalCluster, &readBlock, &volumeCluster, &readSize)); | ^~~~~~~~~~~~~~ | | | fssh_size_t* {aka unsigned int*} ../src/add-ons/kernel/file_systems/fat/fssh_defines.h:23:36: note: in definition of macro 'B_FROM_POSIX_ERROR' 23 | #define B_FROM_POSIX_ERROR(error) (error) | ^~~~~ In file included from ../src/add-ons/kernel/file_systems/fat/kernel_interface.cpp:114: ../src/add-ons/kernel/file_systems/fat/bsd/fs/msdosfs/fat.h:98:69: note: initializing argument 4 of 'int pcbmap(denode*, u_long, daddr_t*, u_long*, int*)' 98 | int pcbmap(struct denode *dep, u_long findcn, daddr_t *bnp, u_long *cnp, int* sp); | ~~~~~~~~^~~ AppendToContainerCopyFilesScript <FloppyBootArchive>haiku-floppyboot-copy-files-dummy-system/add-ons/kernel/partitioning_systems
...
/boot/system/develop/headers/os/support/SupportDefs.h:174: note: this is the location of the previous definition 174 | #define B_PRIdINO B_PRId64 | ../headers/private/fs_shell/fssh_api_wrapper.h:1623: warning: "B_PRIiINO" redefined 1623 | #define B_PRIiINO FSSH_B_PRIiINO | /boot/system/develop/headers/os/support/SupportDefs.h:175: note: this is the location of the previous definition 175 | #define B_PRIiINO B_PRIi64 | ../headers/private/fs_shell/fssh_api_wrapper.h:1626: warning: "B_PRIdTIME" redefined 1626 | # define B_PRIdTIME FSSH_B_PRId32 | /boot/system/develop/headers/os/support/SupportDefs.h:179: note: this is the location of the previous definition 179 | # define B_PRIdTIME B_PRId32 | ../headers/private/fs_shell/fssh_api_wrapper.h:1627: warning: "B_PRIiTIME" redefined 1627 | # define B_PRIiTIME FSSH_B_PRIi32 | /boot/system/develop/headers/os/support/SupportDefs.h:180: note: this is the location of the previous definition 180 | # define B_PRIiTIME B_PRIi32 | gcc-x86 -c "../src/add-ons/kernel/file_systems/fat/kernel_interface.cpp" -O2 -Wall -Wno-trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare -Wno-multichar -include ../headers/build/HaikuBuildCompatibility.h -DFS_SHELL -fno-rtti -DHAIKU_BUILD_COMPATIBILITY_H -DARCH_x86 -D_NO_INLINE_ASM -D__NO_INLINE__ -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAIKU_HOST_USE_XATTR -DHAIKU_HOST_PLATFORM_HAIKU -DHAIKU_PACKAGING_ARCH=\"x86_gcc2\" -iquote ../build/user_config_headers -iquote ../build/config_headers -iquote ../src/tools/fat_shell -iquote objects/common/tools/fat_shell -iquote objects/haiku_host/x86/common/tools/fat_shell -iquote objects/haiku/x86_gcc2/common/tools/fat_shell -iquote ../src/add-ons/kernel/file_systems/fat -iquote ../src/add-ons/kernel/file_systems/fat/bsd/fs/msdosfs -iquote ../src/add-ons/kernel/file_systems/fat/bsd/kern -iquote ../src/add-ons/kernel/file_systems/fat/bsd/libkern -iquote ../src/add-ons/kernel/file_systems/fat/bsd/vm -iquote ../src/tools/fs_shell -I ../headers/private/shared -I ../headers/private/storage -I ../headers/private/file_systems -I ../headers/private/fs_shell -I ../src/add-ons/kernel/file_systems/fat/bsd -I ../headers/build/host/haiku_host -o "objects/haiku_host/x86/release/tools/fat_shell/kernel_interface.o" ...failed C++ objects/haiku_host/x86/release/tools/fat_shell/kernel_interface.o ... Archive objects/haiku_host/x86/release/tools/fs_shell/fs_shell.a ar: creating objects/haiku_host/x86/release/tools/fs_shell/fs_shell.a ar: objects/haiku_host/x86/release/tools/fs_shell/external_commands_unix.o: No such file or directory rm -f objects/haiku_host/x86/release/tools/fs_shell/fs_shell.a ar r objects/haiku_host/x86/release/tools/fs_shell/fs_shell.a objects/haiku_host/x86/release/tools/fs_shell/external_commands_unix.o objects/haiku_host/x86/release/tools/fs_shell/fssh.o objects/haiku_host/x86/release/tools/fs_shell/fssh_additional_commands.o objects/haiku_host/x86/release/tools/fs_shell/fs_shell_kernel.o ...failed Archive objects/haiku_host/x86/release/tools/fs_shell/fs_shell.a ... BUILD FAILURE: ...failed updating 2 target(s)... ...skipped 5 target(s)... ...updated 1450 target(s)... ~>
Change History (2)
comment:1 by , 3 months ago
Component: | - General → File Systems/FAT |
---|---|
Platform: | All → x86 |
comment:2 by , 3 months ago
Milestone: | Unscheduled → R1/beta5 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in hrev57947.