Magnus pushed to branch wip/mangoiv/process-1.6.30.0 at Glasgow Haskell Compiler / GHC
Commits:
-
c7f53f31
by mangoiv at 2026-06-12T09:57:32+02:00
2 changed files:
Changes:
| 1 | -Subproject commit 92deb52c1781bf10ad390296dbc435abe103bfe4 |
|
| 1 | +Subproject commit 11fd247ad33208da7a914acf15d4a09d64a6a4c4 |
| ... | ... | @@ -3066,11 +3066,14 @@ def normalise_errmsg(s: str) -> str: |
| 3066 | 3066 | # Old emcc warns when we export HEAP8 but new one requires it (see #26290)
|
| 3067 | 3067 | s = s.replace('warning: invalid item in EXPORTED_RUNTIME_METHODS: HEAP8\nwarning: invalid item in EXPORTED_RUNTIME_METHODS: HEAPU8\nemcc: warning: warnings in JS library compilation [-Wjs-compiler]\n','')
|
| 3068 | 3068 | |
| 3069 | - # on newer versions of MacOS X, the shipped ranlib warns about object files with no symbols,
|
|
| 3070 | - # however, these are completely benign stubs.
|
|
| 3071 | - # See https://gitlab.haskell.org/ghc/ghc/-/issues/27116
|
|
| 3072 | 3069 | if opsys('darwin'):
|
| 3070 | + # on newer versions of MacOS X, the shipped ranlib warns about object files with no symbols,
|
|
| 3071 | + # however, these are completely benign stubs.
|
|
| 3072 | + # See https://gitlab.haskell.org/ghc/ghc/-/issues/27116
|
|
| 3073 | 3073 | s = modify_lines(s, lambda l: re.sub(r'.*ranlib:.*has no symbols', '', l))
|
| 3074 | + # we also want to remove linker warnings having to do with undefined dynamic_lookup in combination with
|
|
| 3075 | + # making a single weak symbol undefined as this is dependent on other linker flags
|
|
| 3076 | + s = drop_lines_containing(s, 'ld: warning: -U option is redundant when using -undefined dynamic_lookup')
|
|
| 3074 | 3077 | |
| 3075 | 3078 | return s
|
| 3076 | 3079 |