You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4142 Reporter: jcristau Status: closed (set by @xavierleroy on 2011-12-17T11:34:00Z) Resolution: not fixable Priority: normal Severity: minor Version: 3.10+dev Category: ~DO NOT USE (was: OCaml general) Monitored by: aballier smimram
Bug description
NATIVECCLINKOPTS is sometimes used as options to the C compiler (when using $(NATIVECC) $(NATIVECCLINKOPTS), for example), and sometimes as options to the linker. In Debian, we need to add --no-relax to the linker flags on the alpha architecture, which means passing -Wl,--no-relax to gcc, or --no-relax to ld.
The attached patch (against CVS HEAD) filters the $(NATIVECCLINKOPTS) flags to remove "-Wl," in the cases where ld is called directly, which makes the above possible.
Nice catch, this will help me a lot.
Here is an updated patch (against ocaml 3.10) that handles the -Wl,--foo,--bar syntax. It will expand it to --foo --bar when given to ld.
The Alpha architecture is now really dead (it will be missed), and the next major release of OCaml will no longer offer an Alpha native-code generator. I am therefore closing this PR.
Original bug ID: 4142
Reporter: jcristau
Status: closed (set by @xavierleroy on 2011-12-17T11:34:00Z)
Resolution: not fixable
Priority: normal
Severity: minor
Version: 3.10+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: aballier smimram
Bug description
NATIVECCLINKOPTS is sometimes used as options to the C compiler (when using$(NATIVECC) $ (NATIVECCLINKOPTS), for example), and sometimes as options to the linker. In Debian, we need to add --no-relax to the linker flags on the alpha architecture, which means passing -Wl,--no-relax to gcc, or --no-relax to ld.
The attached patch (against CVS HEAD) filters the $(NATIVECCLINKOPTS) flags to remove "-Wl," in the cases where ld is called directly, which makes the above possible.
File attachments
The text was updated successfully, but these errors were encountered: