Re: amd64 kernel dynamic linking allows extern references to statics

2015-07-16 Thread Jan Mikkelsen
> On 16 Jul 2015, at 23:01, Konstantin Belousov wrote: > > On Thu, Jul 16, 2015 at 09:18:15AM +1000, Jan Mikkelsen wrote: >> >>> On 15 Jul 2015, at 11:27 pm, Konstantin Belousov >>> wrote: >>> >>> On Wed, Jul 15, 2015 at 06:17:20PM +1000, Jan Mikkelsen wrote: Hi, (All on 10.2

Re: amd64 kernel dynamic linking allows extern references to statics

2015-07-16 Thread Konstantin Belousov
On Thu, Jul 16, 2015 at 09:18:15AM +1000, Jan Mikkelsen wrote: > > > On 15 Jul 2015, at 11:27 pm, Konstantin Belousov > > wrote: > > > > On Wed, Jul 15, 2015 at 06:17:20PM +1000, Jan Mikkelsen wrote: > >> Hi, > >> > >> (All on 10.2-BETA1.) > >> > >> I noticed that the latest patch in the bug

Re: amd64 kernel dynamic linking allows extern references to statics

2015-07-15 Thread Jan Mikkelsen
> On 15 Jul 2015, at 11:27 pm, Konstantin Belousov wrote: > > On Wed, Jul 15, 2015 at 06:17:20PM +1000, Jan Mikkelsen wrote: >> Hi, >> >> (All on 10.2-BETA1.) >> >> I noticed that the latest patch in the bug >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187594 >>

Re: amd64 kernel dynamic linking allows extern references to statics

2015-07-15 Thread Konstantin Belousov
On Wed, Jul 15, 2015 at 06:17:20PM +1000, Jan Mikkelsen wrote: > Hi, > > (All on 10.2-BETA1.) > > I noticed that the latest patch in the bug > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187594 > works on amd64 but > fails to loa

amd64 kernel dynamic linking allows extern references to statics

2015-07-15 Thread Jan Mikkelsen
Hi, (All on 10.2-BETA1.) I noticed that the latest patch in the bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187594 works on amd64 but fails to load zfs.ko on i386 with a symbol not found error. Looking at the patch, there is