| ... | ... | @@ -5893,16 +5893,13 @@ fn buildGlibcCrtFile(comp: *Compilation, crt_file: glibc.CrtFile, prog_node: std |
| 5893 | 5893 | |
| 5894 | 5894 | fn buildGlibcSharedObjects(comp: *Compilation, prog_node: std.Progress.Node) void { |
| 5895 | 5895 | defer comp.link_task_queue.finishPrelinkItem(comp); |
| 5896 | | glibc.buildSharedObjects(comp, prog_node) catch unreachable; |
| 5897 | | //if (glibc.buildSharedObjects(comp, prog_node)) |_| { |
| 5898 | | // // The job should no longer be queued up since it succeeded. |
| 5899 | | // comp.queued_jobs.glibc_shared_objects = false; |
| 5900 | | //} else |err| switch (err) { |
| 5901 | | // error.AlreadyReported => return, |
| 5902 | | // else => comp.lockAndSetMiscFailure(.glibc_shared_objects, "unable to build glibc shared objects: {s}", .{ |
| 5903 | | // @errorName(err), |
| 5904 | | // }), |
| 5905 | | //} |
| 5896 | if (glibc.buildSharedObjects(comp, prog_node)) |_| { |
| 5897 | // The job should no longer be queued up since it succeeded. |
| 5898 | comp.queued_jobs.glibc_shared_objects = false; |
| 5899 | } else |err| switch (err) { |
| 5900 | error.AlreadyReported => return, |
| 5901 | else => comp.lockAndSetMiscFailure(.glibc_shared_objects, "unable to build glibc shared objects: {t}", .{err}), |
| 5902 | } |
| 5906 | 5903 | } |
| 5907 | 5904 | |
| 5908 | 5905 | fn buildFreeBSDCrtFile(comp: *Compilation, crt_file: freebsd.CrtFile, prog_node: std.Progress.Node) void { |