Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831330 - cross-x86_64-linux-musl/gcc-11.2.0 - patching file gcc/config/i386/pmm_malloc.h fails
Summary: cross-x86_64-linux-musl/gcc-11.2.0 - patching file gcc/config/i386/pmm_malloc...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Cross compilation support
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-16 22:10 UTC by Bertrand Jacquin
Modified: 2022-01-16 23:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info.log,20.34 KB, text/x-log)
2022-01-16 22:10 UTC, Bertrand Jacquin
Details
build.log (build.log,7.06 KB, text/x-log)
2022-01-16 22:10 UTC, Bertrand Jacquin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2022-01-16 22:10:17 UTC
Hi,

cross-x86_64-linux-musl/gcc-11.2.0 fails to prepare() with USE=""cxx hardened jit lto nls nptl openmp (pie) (ssp) zstd":

 * Applying musl patches ...
 * Applying cpu_indicator.patch ...
patching file gcc/config/i386/i386-expand.c
Hunk #1 succeeded at 11063 (offset 122 lines).
patching file libgcc/config/i386/cpuinfo.c
Hunk #1 succeeded at 63 with fuzz 1 (offset -445 lines).                                                    [ ok ]
 * Applying gcc-pure64.patch ...                                                                            [ ok ]
 * Applying posix_memalign.patch ...                                                                        [ ok ]
 * Applying 0001-posix_memalign.patch ...
patching file gcc/config/i386/pmm_malloc.h
Hunk #1 FAILED at 27.
Hunk #2 FAILED at 42.
2 out of 2 hunks FAILED -- saving rejects to file gcc/config/i386/pmm_malloc.h.rej                          [ !! ]
 * ERROR: cross-x86_64-linux-musl/gcc-11.2.0::x-portage failed (prepare phase):
 *   patch -p1  failed with /etc/portage/patches/cross-x86_64-linux-musl/gcc/0001-posix_memalign.patch

Please find attached logs and emerge --info.

Reproducible: Always
Comment 1 Bertrand Jacquin 2022-01-16 22:10:41 UTC
Created attachment 762373 [details]
emerge --info
Comment 2 Bertrand Jacquin 2022-01-16 22:10:58 UTC
Created attachment 762374 [details]
build.log
Comment 3 Bertrand Jacquin 2022-01-16 22:13:54 UTC
This issue comes from a leftover local patch, resolving