Commit fe4b4ea
committed
Fix mingw_w64_pthreads: rebuild with working cross-stdenv
nixpkgs-2511's crossThreadsStdenv resolves to native Linux stdenv
instead of the cross-compiling stdenv, causing dll_dependency.S to be
assembled with the 64-bit Linux assembler which rejects 32-bit Windows
push/pop instructions. Rebuild from the same mingw-w64 source using
prev.stdenv (the full Windows cross-stdenv) which properly provides
the cross-compiler. No circular dependency because GCC uses MCF
threads (depends on mcfgthreads, not pthreads).1 parent eb3e0c5 commit fe4b4ea
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
125 | 135 | | |
126 | 136 | | |
127 | 137 | | |
| |||
130 | 140 | | |
131 | 141 | | |
132 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
133 | 151 | | |
134 | 152 | | |
135 | 153 | | |
| |||
0 commit comments