haiku/build/jam
PulkoMandy c5769c4f6b Make -Wcast-align only a warning
On x86 and x86_64, this warning is never emitted because it is perfectly
fine to do unaligned access. On sparc, such accesses are not supported
by the hardware and will generate a SIGBUS. This must be caught by a
trap handler, and the unaligned access performed there, slowly, using
byte by byte access.

However, making this a Werror is annoying because it will trigger
everytime one casts a byte pointer to something larger, even when
alignment is actually preserved. So, removing all such warnings would be
nearly impossible (for example, just for the mergesort function, there
is a whole GSoC project for it at FreeBSD).

Keep it as a warning for now. The warning can be silenced by using
BytePointer, if desired. We should also investigate where the SIGBUS
trap is triggered a lot and consider improving the alignment of data
where possible.

Change-Id: I6b90025e8c6d69ef1ccda3c10eee270ccc1ebd29
Reviewed-on: https://review.haiku-os.org/c/1103
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2019-03-03 20:56:20 +00:00
..
board system/boot: Add support for multiple bootloaders 2018-10-17 14:47:46 -05:00
images build: Remove ATA build feature references. 2019-02-25 19:56:07 -05:00
packages build: Remove ATA build feature references. 2019-02-25 19:56:07 -05:00
repositories sparc: update gcc package in HaikuPortsCross 2019-03-01 11:54:55 +00:00
ArchitectureRules Make -Wcast-align only a warning 2019-03-03 20:56:20 +00:00
BeOSRules BeOSRules: Pass CCFLAGS through to the compiler during ResComp. 2018-08-11 15:33:08 -04:00
BootRules BootRules: Fix BuildMBR under Clang. 2018-11-23 00:06:23 -05:00
BuildFeatureRules build/jam/BuildFeatureRules: Make EnableBuildFeatures actually work. 2017-11-25 21:15:08 +01:00
BuildFeatures build: Print unavailable build features in one rather than multiple lines. 2019-02-25 16:11:39 -05:00
BuildSetup HaikuDepot: Build Configure for Python 2019-03-03 07:49:25 +00:00
CDRules build: Use the absolute path on more instances of build_* scripts. 2018-11-02 23:26:11 -04:00
CommandLineArguments build: Remove now-defunct jam commands. 2017-11-25 21:15:10 +01:00
ConfigRules Add more missing 'local's to variable declarations. 2014-08-13 13:32:43 +02:00
DefaultBuildProfiles ImageRules: Ensure nightly builds will have a stable volume-id 2019-02-19 19:03:25 +00:00
FileRules FileRules: Fix typo. 2019-01-10 12:32:33 -05:00
HaikuPackages netfs: Fix and enable on 64-bit. 2018-11-18 14:37:06 -05:00
HeadersRules codec_kit: First half 2018-10-24 16:12:03 +02:00
HelperRules build/jam: whitespace cleanup. 2018-05-07 13:12:16 +12:00
ImageRules ImageRules: Ensure nightly builds will have a stable volume-id 2019-02-19 19:03:25 +00:00
KernelRules build: Do not use regular TARGET_*FLAGS in kernel and bootloader. 2018-11-23 00:06:23 -05:00
LocaleRules LocaleRules: Add a second version of the catalog extraction actions. 2018-08-21 20:52:41 -04:00
MainBuildRules MainBuildRules: Fail if the generated struct-offsets header is empty. 2018-11-24 14:35:10 -05:00
MathRules Add more missing 'local's to variable declarations. 2014-08-13 13:32:43 +02:00
MiscRules build/jam: whitespace cleanup. 2018-05-07 13:12:16 +12:00
OptionalPackages OptionalPackages: Remove some of the less-useful devel packages. 2018-08-26 12:33:36 -04:00
OverriddenJamRules OverridenJamRules: Override MkDir to use -p. 2018-11-24 17:52:08 -05:00
PackageRules build: Include extra information in the package version. 2018-09-27 03:38:07 +00:00
RepositoryRules RepositoryRules: fix typo 2019-02-24 19:45:14 +00:00
SystemLibraryRules build: Link against libgcc_s.so.1 instead of libgcc_s.so. 2018-08-26 13:35:40 -04:00
TestsRules unittests: Build copied BAppTest files 2015-11-01 14:19:04 +01:00
UserBuildConfig.ReadMe build/jam: whitespace cleanup. 2018-05-07 13:12:16 +12:00
UserBuildConfig.sample Make it a bit easier to skip first boot prompt 2017-01-01 16:59:47 -08:00