Граф коммитов

22 Коммитов

Автор SHA1 Сообщение Дата
Rachel Menge cad86954ea
Enable check section for glibc (#10277)
Previously, the glibc check section caused major failures for the builds. However, these no longer exisit. To enable these tests, address conflicting gcc flags and turn off the macro which prevents check section for glibc. Note there are still 3 tests which need to be invetigated for failures.

The patch prevents the error
c1: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
The error occurs when glibc is compiled with -Wformat-security which requires -Wformat and thus conflicts with tests which use -Wno-format

The new results from the check section should be
Summary of test results:
3 FAIL : nptl/tst-cancel1, io/tst-lchmod, nptl/tst-mutex10
5040 PASS
152 UNSUPPORTED
12 XFAIL
8 XPASS
2024-08-29 18:46:31 -07:00
Christopher Co 63f6138f07
fix: restore syslog message passing behavior (#10202)
Issue was observed where syslog printouts were no longer being printed
with the latest glibc package.

Error signature was a blank entry in /var/log/messages output. For
example, when running glibc's basic syslog example -
http://www.gnu.org/software/libc/manual/html_node/Syslog-Example.html

2024-08-20T04:46:41.163860+00:00 chrco-dev-vm-3 exampleprog[1545]:
2024-08-20T04:46:41.163698+00:00 chrco-dev-vm-3 exampleprog[1545]:
when we would expect the text "A tree falls in a forest".

The behavior was caused by an incorrect set of backports for
the syslog CVEs CVE-2023-6246, CVE-2023-6779, CVE-2023-6780.

This change fixes the backport and pulls the individual fixes from the
upstream 2.38 stable release branch.

https://sourceware.org/git/?p=glibc.git;a=log;h=refs/heads/release/2.38/master

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-08-21 10:58:04 -07:00
nicolas guibourge c025a0c6e0
glibc - Address CVE-2023-4911, CVE-2023-5156, CVE-2023-6246, CVE-2023-6779, CVE-2023-6780 (#9423)
Co-authored-by: CBL-Mariner Servicing Account <cblmargh@microsoft.com>
2024-06-18 14:55:17 -07:00
Mykhailo Bykhovtsev 9b35e69bab
Upgrade ocaml to 5.1.1 and other ocaml-packages and libguestft and supermin (#9037)
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
2024-05-28 17:56:26 -07:00
chalamalasetty 7e40d16cbd
Generate glibc all locales and provide in a sub package (#9200) 2024-05-24 17:19:09 -07:00
Christopher Co 58532ace7b
Add macro for enabling frame pointers during build and enable frame pointers in glibc (#9092)
Enabling frame pointers during compilation brings benefits to performance profiling and tracing. See https://www.brendangregg.com/blog/2024-03-17/the-return-of-the-frame-pointers.html for more details.

This change in particular adds a macro to add the -fno-omit-frame-pointer flag to CFLAGS when defining %define _include_frame_pointers 1 in the spec file. This way the packager can control enabling whether to build with frame pointers enabled or not. By default, building with frame pointers is disabled.

This change also enables frame pointers by default in our glibc build, which is one of the hot-spots where fast profiling with frame pointers would be beneficial.

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-05-15 15:47:18 -07:00
Dan Streetman 29d102292a
glibc: provide C.utf8 locale (#8336) 2024-03-11 16:40:39 -04:00
Dan Streetman 36f7a7885b
glibc locale en_US.UTF-8 should be en_US.utf8 (#7316)
Co-authored-by: Dan Streetman <ddstreet@ieee.org>
2024-02-28 09:02:11 -08:00
Dan Streetman 710cff00c4
tree-wide: change %{with_check} to 0%{?with_check} (#8088) 2024-02-27 12:23:38 -05:00
CBL-Mariner-Bot ccf90251ba
Upgrade supermin to 5.2.2 in Mariner 3.0 (#7655)
Co-authored-by: Nan Liu <liunan@microsoft.com>
2024-02-12 13:48:38 -08:00
Mykhailo Bykhovtsev 7a5401b6d3
Renaming mariner-release into azurelinux-release (#7545) 2024-02-09 10:19:19 -08:00
Muhammad Falak R Wani 6359c27c2d
treewide: *.spec: switch Distribution to Azure Linux (#7606)
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-02-06 12:14:23 -08:00
Mykhailo Bykhovtsev 41f3267022
Small rebranding of mariner-release file changes (#7621) 2024-02-01 15:49:24 -08:00
Andrew Phelps ff3030e9ec
upgrade major toolchain components for mariner 3.0 (#6689) 2023-11-09 10:50:11 -08:00
Minghe Ren 044098bc0b
add patches for Glibc CVE-2023-4806 and CVE-2023-5156 (#6341)
* add patches for CVE

* bump dependency package release number

---------

Co-authored-by: minghe <rmhsawyer>
2023-10-06 14:55:34 -07:00
Mandeep Plaha 115ecc713d
Mandeepsplaha/patch cves against gdb (#6338)
* Patch CVE-2023-4911 in glibc
* Update all specs that build require glibc-static
2023-10-03 16:38:04 -07:00
jslobodzian eb08b37916
Bump package version to recompile binaries with fixed gcc stack prote… (#6253)
* Bump package version to recompile binaries with fixed gcc stack protection (CVE-2023-4039)

* Bump debuginfo versions in toolchain manifests

* Bump kernel headers to match kernel

* Update SPECS/gettext/gettext.spec

Taking suggestion

Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com>

* Update for code review comments

* Fix for code review comment in qt5-qtdeclarative changelog

* Fix dash version for signed spec files

---------

Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2023-09-21 17:10:15 -04:00
Pawel Winogrodzki dcc0c34997
Removed 'exit 1' from 'supermin'. (#6217) 2023-09-15 09:22:51 -07:00
Andrew Phelps 6d35fdd2fc
glibc: restore glibc-debuginfo package (#5795)
* update glibc so binaries are not stripped

* restore glibc-debuginfo
2023-07-14 16:20:19 -07:00
Andy Caldwell 366add1699
Police `glibc-static` versions (#3748)
* Make `glibc-static` a real package and police its version

* Add version bounds to all mentions of `glibc-static` in spec files

* Bump releases for all affected packages

* Add pipeline job to check static glibc versions

* Release new glibc packages with split out glibc-static

* Include distribution in requirement bounds

* Don't implicitly install glibc-static in pkggen chroot

* Correctly split up the static libraries between devel/static

* Consistent use of f-strings

* Allow libacvp to build without depending on `glibc-static`

* Remove `libhugetlbfs-tests` package

* Update kernel configs to not support static linking

* Declare `glibc-static` dependency for flannel

* Enable `-pie` by default in `clang`

* Rebuild SymCrypt with `-pie` enabled `clang`

* Use `glibc-static` on all platforms for `busybox`

* Tidy up libacvp Source lines

* Clang can't default to `-pie` so move `crt1.o` to `glibc-devel`

* Fix libacvp Source0 syntax

* Don't build static binaries in libhugetlbfs-tests

* Update kernel config signatures

* Kubevirt needs glibc-static too
2022-10-12 16:30:40 +01:00
Olivia Crain feef54b57a
toolchain: Remove mariner-release package (#2911) 2022-05-20 09:09:41 -05:00
Pawel Winogrodzki ef21c24335
[main] Migrating specs to enable `libguestfs` build from `SPECS`, part 1. (#2630)
* Moving first batch of 'libguests' dependencies.
2022-03-31 10:01:22 -07:00