Re: Bug#837359: ocaml: FTBFS on -fPIE binNMU on armhf - test failure

2016-11-06 Thread Mehdi Dogguy
On 06/11/2016 10:19, Adrian Bunk wrote: > On Sun, Nov 06, 2016 at 09:59:20AM +0100, Mehdi Dogguy wrote: >> I've tried a rebuild on harris with pic_code set to true for arm. The build >> succeeded and all tests passed fine. Do you want to run more tests or should >> I upload this change? > > Please

Re: Bug#837359: ocaml: FTBFS on -fPIE binNMU on armhf - test failure

2016-11-06 Thread Adrian Bunk
On Sun, Nov 06, 2016 at 09:59:20AM +0100, Mehdi Dogguy wrote: > Hi, > > On 02/11/2016 03:22, Ximin Luo wrote: > > > > let emit_load_symbol_addr dst s = if !Clflags.pic_code then begin [..] end > > else if !arch > ARMv6 && not !Clflags.dlcode && !fastcode_flag then begin ` > > movw{emit_re

Re: Bug#837359: ocaml: FTBFS on -fPIE binNMU on armhf - test failure

2016-11-06 Thread Mehdi Dogguy
Hi, On 02/11/2016 03:22, Ximin Luo wrote: > > let emit_load_symbol_addr dst s = if !Clflags.pic_code then begin [..] end > else if !arch > ARMv6 && not !Clflags.dlcode && !fastcode_flag then begin ` > movw {emit_reg dst}, #:lower16:{emit_symbol s}\n`; ` movt{emit_reg dst}, > #:upper16:{emit_

Re: Bug#837359: ocaml: FTBFS on -fPIE binNMU on armhf - test failure

2016-11-02 Thread Adrian Bunk
On Wed, Nov 02, 2016 at 02:22:00AM +, Ximin Luo wrote: >... Thanks a lot for debugging this. > let emit_load_symbol_addr dst s = > if !Clflags.pic_code then begin > [..] > end else if !arch > ARMv6 && not !Clflags.dlcode && !fastcode_flag then > begin > ` movw{emit_reg dst},

Re: Bug#837359: ocaml: FTBFS on -fPIE binNMU on armhf - test failure

2016-11-01 Thread Ximin Luo
Ximin Luo: > Ximin Luo: >> >> It's possible OCaml itself is to blame: >> >> asmcomp/arm/emit.mlp: >> if nh = 0l then begin >> ` movw{emit_reg dst}, #{emit_int32 nl}\n`; 1 >> end else if Int32.logand nl 0xffl = nl then begin >> ` movs{emit_reg dst}, #{emit_int32

Re: Bug#837359: ocaml: FTBFS on -fPIE binNMU on armhf - test failure

2016-11-01 Thread Ximin Luo
Ximin Luo: > Adrian Bunk: >> ... testing 'quicksort2':/usr/bin/ld: quicksort2.o: relocation >> R_ARM_THM_MOVW_ABS_NC against `cmp' can not be used when making a shared >> object; recompile with -fPIC >> quicksort2.o: error adding symbols: Bad value >> collect2: error: ld returned 1 exit status >

Re: Bug#837359: ocaml: FTBFS on -fPIE binNMU on armhf - test failure

2016-11-01 Thread Ximin Luo
Adrian Bunk: > ... testing 'quicksort2':/usr/bin/ld: quicksort2.o: relocation > R_ARM_THM_MOVW_ABS_NC against `cmp' can not be used when making a shared > object; recompile with -fPIC > quicksort2.o: error adding symbols: Bad value > collect2: error: ld returned 1 exit status > => failed > ...

Re: Bug#837359: ocaml: FTBFS on -fPIE binNMU on armhf - test failure

2016-10-31 Thread Adrian Bunk
On Mon, Oct 31, 2016 at 06:46:00PM +, Niels Thykier wrote: > Control: retitle -1 ocaml: FTBFS on -fPIE binNMU on armhf - test failure > > Dear maintainer, > > We have tried to binNMU ocaml in unstable now that PIE is on by default. > This worked fine on all release architectures except armhf

Re: Bug#837359: ocaml: FTBFS on -fPIE binNMU on armhf - test failure

2016-10-31 Thread Niels Thykier
Control: retitle -1 ocaml: FTBFS on -fPIE binNMU on armhf - test failure Dear maintainer, We have tried to binNMU ocaml in unstable now that PIE is on by default. This worked fine on all release architectures except armhf, where 4 tests failed: """ Summary: 468 test(s) passed 4 test(s) fa