22 Commits

Author SHA256 Message Date
Richard Biener
4c23af4e71 Accepting request 1159617 from home:Guillaume_G:branches:devel:libraries:c_c++
- Add patches to fix BTI on aarch64:
  * 830.patch
- Update to 3.4.6:
  * Fix long double regression on mips64 and alpha.
- Update to 3.4.5:
  * Add support for wasm32.
  * Add support for aarch64 branch target identification (bti).
  * Add support for ARCv3: ARC32 & ARC64.
  * Add support for HPPA64, and many HPPA fixes.
  * Add support for Haikuos on PowerPC.
  * Fixes for AIX, loongson, MIPS, power, sparc64, and x86 Darwin.
- Drop upstreamed patches:
  * 808.patch
  * 810.patch

OBS-URL: https://build.opensuse.org/request/show/1159617
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=34
2024-03-20 08:11:13 +00:00
Richard Biener
0791d1e60d Accepting request 1131289 from home:Guillaume_G:PAC_BTI
- Add upstream patches to fix BTI on aarch64:
  * 808.patch
  * 810.patch

OBS-URL: https://build.opensuse.org/request/show/1131289
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=32
2023-12-06 09:35:08 +00:00
Richard Biener
74d1b2c03c Accepting request 1030896 from home:Andreas_Schwab:Factory
- Update to libffi 3.4.4
  * Important aarch64 fixes, including support for linux builds
      with Link Time Optimization (-flto).
  * Fix x86 stdcall stack alignment.
  * Fix x86 Windows msvc assembler compatibility.
  * Fix moxie and or1k small structure args.
- drop riscv64-handle-big-structures.patch
- reenable LTO

OBS-URL: https://build.opensuse.org/request/show/1030896
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=30
2022-10-25 06:48:52 +00:00
Richard Biener
d268898770 Accepting request 1009331 from home:dirkmueller:Factory
- add riscv64-handle-big-structures.patch

OBS-URL: https://build.opensuse.org/request/show/1009331
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=28
2022-10-10 12:16:48 +00:00
OBS User buildservice-autocommit
80bd7df03c Accepting request 1006099 from devel:libraries:c_c++
baserev update by copy to link target

OBS-URL: https://build.opensuse.org/request/show/1006099
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=26
2022-09-28 15:51:07 +00:00
OBS User buildservice-autocommit
16006e09f8 Updating link to change in openSUSE:Factory/libffi revision 11.0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=572816b58542a7c51451b3fc476d5bb1
2022-09-28 15:51:07 +00:00
Richard Biener
9c4f6cb9b5 - disable LTO due to (ffi#733)
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=25
2022-09-27 09:33:00 +00:00
Richard Biener
a183ac23af - update to 3.4.3:
* All struct args are passed by value, regardless of size, as per ABIs.
  * Enable static trampolines for Cygwin.
  * Add support for Loongson's LoongArch64 architecture.
  * Fix x32 static trampolines.
  * Fix 32-bit x86 stdcall stack corruption.
  * Fix ILP32 aarch64 support.
- includes fix for RISCV64

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=24
2022-09-23 13:28:50 +00:00
Richard Biener
7b738b5d02 Accepting request 1005621 from home:dirkmueller:Factory
- add riscv-rvalue-ext.patch to fix libffi for RISCV64

OBS-URL: https://build.opensuse.org/request/show/1005621
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=23
2022-09-23 13:15:28 +00:00
Richard Biener
c59f6e6e4d Accepting request 935016 from home:dirkmueller:Factory
- disable static trampolines (bsc#1193272)

OBS-URL: https://build.opensuse.org/request/show/935016
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=22
2021-12-02 08:20:43 +00:00
Richard Biener
bd630d9f13 Accepting request 934175 from home:dirkmueller:Factory
- update to 3.4.2:
  * Add static trampoline support for Linux on x86_64 and ARM64.
  * Add support for Alibaba's CSKY architecture.
  * Add support for Kalray's KVX architecture.
  * Add support for Intel Control-flow Enforcement Technology (CET).
  * Add support for ARM Pointer Authentication (PA).
  * Fix 32-bit PPC regression.
  * Fix MIPS soft-float problem.
  * Enable tmpdir override with the $LIBFFI_TMPDIR environment variable.
  * Enable compatibility with MSVC runtime stack checking.
  * Reject float and small integer argument in ffi_prep_cif_var().
  * Callers must promote these types themselves. 
- drop aarch64.patch: fixed upstream differently
- drop info dependency, uses file triggers now

OBS-URL: https://build.opensuse.org/request/show/934175
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=21
2021-11-29 09:53:30 +00:00
Richard Biener
1bc1343f47 - Update to commit b844a9c7f1ca based on libffi 3.3 with the
following changes:
        Add RISC-V support.
        New API in support of GO closures.
        Add IEEE754 binary128 long double support for 64-bit Power
        Default to Microsoft's 64 bit long double ABI with Visual C++.
        GNU compiler uses 80 bits (128 in memory) FFI_GNUW64 ABI.
        Add Windows on ARM64 (WOA) support.
        Add Windows 32-bit ARM support.
        Raw java (gcj) API deprecated.
        Add pre-built PDF documentation to source distribution.
        Many new test cases and bug fixes.
- SONAME change to libffi.so.8
- stdcall.patch is now upstream
- Adjust baselibs.conf for SONAME change
- Adjust aarch64.patch for upstream changes
- Drop gccbug.patch XFAILing testcases that now PASS with fixed
  GCC 9.3

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=19
2020-03-10 10:06:48 +00:00
Richard Biener
48d02f6cc7 Accepting request 738187 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Workaround aarch64 bug (boo#1153573) with upstream patch
  https://github.com/libffi/libffi/pull/499 updated to apply
  on current sources (upstream will probably rework this patch
  so we need to monitor the issue for the proper fix):
  * aarch64.patch

OBS-URL: https://build.opensuse.org/request/show/738187
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=17
2019-10-14 09:29:17 +00:00
Richard Biener
f32a3fdc9d Accepting request 731700 from home:Andreas_Schwab:Factory
- Update to commit c2a6859
- gccbug.patch: Update check for gccbug target flag
- stdcall.patch: Fix FFI_STDCALL ABI
- libffi-riscv.patch: Removed
- libffi-include-location.patch: Removed

OBS-URL: https://build.opensuse.org/request/show/731700
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=15
2019-09-18 10:13:24 +00:00
Richard Biener
2a0bc0da01 Accepting request 585950 from home:Andreas_Schwab:Factory
- libffi-riscv.patch: add support for RISC-V

OBS-URL: https://build.opensuse.org/request/show/585950
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=12
2018-03-12 18:00:03 +00:00
Richard Biener
15abff891c Accepting request 580095 from home:favogt:licensetag
Use %license (boo#1082318). Please forward to SLE, if possible

OBS-URL: https://build.opensuse.org/request/show/580095
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=10
2018-02-26 11:08:52 +00:00
c8bd4caf53 Accepting request 578419 from home:Andreas_Schwab:Factory
- Remove aarch64-struct-by-value.patch, needs to be fixed in python.

OBS-URL: https://build.opensuse.org/request/show/578419
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=9
2018-02-26 06:33:46 +00:00
4eea312941 Accepting request 527325 from home:Andreas_Schwab:Factory
- aarch64-struct-by-value.patch: fix passing struct by value on aarch64

OBS-URL: https://build.opensuse.org/request/show/527325
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=7
2017-09-20 08:29:10 +00:00
Dominique Leuenberger
9a9ac38c26 Build libffi7-32bit
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libffi?expand=0&rev=2
2017-03-14 08:50:31 +00:00
Richard Biener
018ba25090 - Change License to MIT.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=3
2017-02-28 14:51:35 +00:00
Richard Biener
3baacb9c8d Accepting request 455369 from home:jengelh:branches:devel:libraries:c_c++
- Provide a _service file to build the tarball

OBS-URL: https://build.opensuse.org/request/show/455369
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=2
2017-02-08 09:00:52 +00:00
Richard Biener
b61715263f - Package libffi from https://github.com/libffi at 60e4250a77eb3
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libffi?expand=0&rev=1
2017-02-07 09:59:00 +00:00