Commit Graph

158 Commits

Author SHA1 Message Date
Niels Sascha Reedijk
472163451f GCC: disable the use of dl_iterate_phdr in libbacktrace (#9522)
This fixes libfortan.so.

Closes #9241
2023-09-25 11:16:23 -04:00
Niels Sascha Reedijk
46afdec057 GCC 13: add recent fixes to haikuports build (#9222)
This pulls in:
 * [0bb5624b57] libgcc: fix config for arm64
 * [f7a513f636] GCC: set the '-rdynamic' command line option to ignore
2023-08-15 16:59:21 +00:00
Niels Sascha Reedijk
0201bae0d1 GCC: bump to 13.2.0 (#9174) 2023-08-12 07:04:13 +00:00
Niels Sascha Reedijk
8e152fc290 GCC 13: enable recipe (#9126) 2023-08-02 07:45:28 +00:00
Niels Sascha Reedijk
3be1343e83 GCC 13: add gcc_jit and other fixes (#9058)
* GCC 13: improvements to recipe

 * Add a dependency for syslibs_devel on syslibs (closes #6505)
 * Remove duplicate libraries from gcc package and store them only in
   gcc_syslibs (closes #6470, based on previous work in #6704)

* GCC 13: create new gcc_jit and gcc_jit_devel packages

The GCC JIT allows an application to embed GCC in order to compile and run
code on the fly.

Closes #6440

* GCC 13: add $effectiveTargetMachineTriple-gcc-$gccVersion to $binDir

This is the 'external driver' that gcc jit uses. If the driver is present, it
is able to find all the system libraries.

* GCC 13: fix recipe for x86 for libgcc.a merge
2023-07-31 14:41:22 +00:00
Niels Sascha Reedijk
c258690ec2 GCC: Add recipe for 13.1.0
Currently set all supported platforms as unstable, as the recipe requires
Haiku hrev56977 or later to build.
2023-06-30 12:40:56 +02:00
Jessica Hamilton
84abc2850f gcc 2: integrate -rdynamic patch from buildtools. 2023-05-08 23:34:15 +00:00
Jessica Hamilton
19a9f479f1 gcc 11: integrate -rdynamic patch from buildtools. 2023-05-08 22:59:04 +12:00
Trung Nguyen
9ec6238a4a gcc/config: Drop cdecl and stdcall built-in defines 2023-05-08 12:01:52 +02:00
Trung Nguyen
0298ff0fe4 gcc: Pass --eh-frame-hdr to linker by default (#7038) 2022-07-07 11:04:20 -04:00
Alexander von Gluck IV
f61837f6dc gcc-11.2.0: Add jessica's pthread fix, drop non-working darwin fix 2022-03-25 17:25:10 -05:00
Alex von Gluck IV
a98e539f91 gcc-11.2: true up to buildtools repo; add missing arch ports (#6737) 2022-03-23 12:52:48 -04:00
davidkaroly
ce76abd5b2 gcc-8.3.0: fix headers after building boot libraries (#6411) 2021-11-17 14:19:44 +03:00
davidkaroly
ac2dde2866 gcc-11.2.0: build bootloader libraries (#6402) 2021-11-16 08:46:30 +01:00
Jerome Duval
9b50f1acc0 Revert "gcc-11.2.0: build bootloader libraries (#6386)"
This reverts commit a4c370a081.
2021-11-12 14:13:33 +01:00
davidkaroly
a4c370a081 gcc-11.2.0: build bootloader libraries (#6386) 2021-11-12 09:00:45 +01:00
davidkaroly
3519a0f327 gcc-8.3.0: build bootloader libraries (#6385)
needed for arm
2021-11-10 18:27:24 +01:00
Jérôme Duval
1b23b8106a gcc: trigger build 2021-11-09 18:16:37 +01:00
Jérôme Duval
b926084639 gcc: bump revision 2021-11-09 17:15:58 +01:00
extrowerk
e2db3969ce gcc: fix -fstack-protector on x86 (#6383)
linking stack-protected objects on x86 would fail if -fstack-protector
wasn't passed to the linker. Only one symbol is missing, provided by
libssp_nonshared. So merge it in libgcc.a, which is always linked in.
2021-11-09 16:56:55 +03:00
Zoltán Mizsei
2701491a82 GCC11.2 2021-11-07 18:31:18 +01:00
Adrien Destugues
6a7f34b76a gcc: remove hack that breaks everything.
gcc pretended to be tinycc to workaround the fact that Haiku could not
handle a version of gcc larger than 9. However, this led to cmake
thinking that the compiler was tinycc, and disabled all optimizations in
release builds. Which in turn made webkit fail to build.

Everything that was compiled with gcc11 and cmake until now needs to be
rebuilt to have optimizations.
2021-11-05 21:49:20 +01:00
David Karoly
a3a6b4437c gcc: enable build for arm 2021-11-03 19:29:26 +01:00
extrowerk
45b3f791ac GCC 11: enable for every arch (#6352)
It seems @pulkomandy have forgot about the 64 bit users. Lets fix it.
2021-11-02 10:55:26 -04:00
Adrien Destugues
4397c26605 gcc11: fix ASLR, enable for x86 secondary arch
There are some new binaries that need ASLR enabled, otherwise we get an
out of memory error.

Other than that, it works fine, so we may as well enable it.
2021-10-31 14:10:31 +01:00
Jerome Duval
f47813e0f4 gcc: don't link against libssp
when -fstack-protector is provided as linker argument.
2021-10-13 23:44:05 +02:00
Jerome Duval
558523994f gcc: fix -fstack-protector on x86
linking stack-protected objects on x86 would fail if -fstack-protector
wasn't passed to the linker. Only one symbol is missing, provided by
libssp_nonshared. So merge it in libgcc.a, which is always linked in.
2021-10-12 20:35:36 +02:00
Jerome Duval
6b28ac19ac gcc: fix -fstack-protector on x86 2021-10-10 22:54:24 +02:00
waddlesplash
4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00
Fredrik Holmqvist
9cab1ff08a [Hack] Add riscv64 and arm64 to gcc recipe
While it can't be used as this version don't have correct config
for those archs it is needed when building images.

See https://github.com/haikuports/haikuports/issues/6136 for info
2021-08-27 19:59:02 +02:00
extrowerk
1f0e168e1e GCC: recipe for version 11.1 (#5858)
disabled to avoid conflicts with gcc 8.3
the patch for Beta2 can be removed on Beta3+
2021-05-12 16:51:00 +02:00
Jerome Duval
6b7ae7d3f5 gcc: default to strict dwarf4 2021-05-06 21:00:01 +02:00
Jérôme Duval
a75a18260f gcc: bump for rebuild
last one failed because of texinfo
2021-02-05 08:08:42 +01:00
Jerome Duval
ab58bc4953 gcc: rebuild after mpfr version bump
mpc links against libmpfr6 while gcc links against libmpfr4, this
seems to lead to a crash in mpfr when building some projects.
2021-02-04 20:11:00 +01:00
François Revol
2c95bf707c Enable m68k for the base packages
This is needed to build the source packages to use in the bootstrap image.
2020-02-04 22:44:39 +01:00
PulkoMandy
3858612e37 Add sparc architecture to some recipes and fix bash
Needed for succesful bootstrap.

Bash recipe fails to find files if the PATCH() code is not run from the
source directory.
2020-01-21 20:27:37 +01:00
miqlas
95e85cede8 GCC size reduction (#4132) 2019-08-24 13:39:36 -04:00
miqlas
c71e130ac5 GCC: enable objc without objc lib (#3748) 2019-08-23 18:41:16 -04:00
kikadf
b5df226545 gcc-8.3: apply libstdcxx-filesystem-ts patch from 7.3 2019-07-23 21:29:56 +02:00
miqlas
4e0bc36ed7 GCC: forced rebuild
URL seems to be available, probably network glitch
2019-07-19 19:11:49 +02:00
Jessica Hamilton
c0c6618cf8 Fix gfortran, patch from 7.3.0 hadn't been applied. 2019-07-18 15:10:17 +00:00
Augustin Cavalier
a4d480b182 gcc: Do not ship a static libstdc++. 2019-06-15 20:59:57 -04:00
Augustin Cavalier
db36a8f1e1 gcc: Add recipe for GCC 8.3 and enable by default. 2019-05-24 19:26:39 -04:00
Jerome Duval
650ea9b9e1 Reapply "Enable sparc for the base packages".
This reverts commit 99901b49ee.
2019-04-30 19:51:33 +02:00
Jérôme Duval
bae7130876 gcc: trigger build. 2019-04-10 15:36:38 +02:00
Jerome Duval
99901b49ee Revert "Enable sparc for the base packages"
This reverts commit ab5bcc9b3b.
2019-04-10 11:10:56 +02:00
PulkoMandy
ab5bcc9b3b Enable sparc for the base packages
This is needed to build the source packages to use in the bootstrap
image.
2019-04-08 22:03:29 +02:00
waddlesplash
3f7569988f gcc8: disable on x86 secondary arch. 2018-10-29 22:31:36 -04:00
Adrien Destugues
8d5659531f Backport fix from upstream for std::is_trivially_constructible
Needed to build current version of webkit code.
2018-10-16 00:29:11 +02:00
Adrien Destugues
7165175bf1 Import gcc 8.1 recipe done by extrowerk. 2018-10-14 21:35:59 +02:00