Bug 809014 - strange build error with ndiswrapper on i686
Summary: strange build error with ndiswrapper on i686
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 16
Hardware: i686
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-02 08:51 UTC by leigh scott
Modified: 2012-04-26 03:28 UTC (History)
6 users (show)

Fixed In Version: kernel-2.6.43.2-6.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-13 13:57:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Proposed fix (1.00 KB, patch)
2012-04-02 23:06 UTC, Jeremy Fitzhardinge
no flags Details | Diff

Description leigh scott 2012-04-02 08:51:19 UTC
Description of problem:
I can't build ndiswrapper for F16 or F17

http://buildsys.rpmfusion.org/logs/fedora-16-rpmfusion_free/12565-ndiswrapper-kmod-1.57-2.fc16/i686/build.log

http://buildsys.rpmfusion.org/logs/fedora-17-rpmfusion_free/12562-ndiswrapper-kmod-1.57-2.fc17/i686/build.log


/builddir/build/BUILD/ndiswrapper-kmod-1.57/_kmod_build_3.3.0-8.fc17.i686/driver/ntoskernel_io.c: Assembler messages:
/builddir/build/BUILD/ndiswrapper-kmod-1.57/_kmod_build_3.3.0-8.fc17.i686/driver/ntoskernel_io.c:131: Error: bad register name `%sil'
make[2]: *** [/builddir/build/BUILD/ndiswrapper-kmod-1.57/_kmod_build_3.3.0-8.fc17.i686/driver/ntoskernel_io.o] Error 1


Additional info:

I have also filed a report here 

http://sourceforge.net/tracker/?func=detail&aid=3513678&group_id=93482&atid=604450

Comment#1 indicated that this commit is causing the issue

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=31a8394e069e47dc47f4c29e4213aa943342f19f

Comment 1 Dave Jones 2012-04-02 17:08:20 UTC
ndiswrapper needs fixing.

Comment 2 Dave Jones 2012-04-02 17:08:59 UTC
oops, ignore previous comment.  Added Jeremy to cc to see if this is correct.

Comment 3 leigh scott 2012-04-02 17:41:23 UTC
(In reply to comment #1)
> ndiswrapper needs fixing.

It builds fine for x86_64

http://buildsys.rpmfusion.org/logs/fedora-17-rpmfusion_free/12562-ndiswrapper-kmod-1.57-2.fc17/x86_64/build.log

Comment 4 Jeremy Fitzhardinge 2012-04-02 23:06:24 UTC
Created attachment 574671 [details]
Proposed fix

Comment 5 leigh scott 2012-04-03 21:42:31 UTC
The patch fixes the build error for local test builds, how long till it's applied to the F15 - F18 kernel branches?

Thanks

Leigh

Comment 6 Josh Boyer 2012-04-04 00:43:59 UTC
Upstream post:

https://lkml.org/lkml/2012/4/2/504

we'll wait to see if there are any iterations of the patch (doubtful) and bring it back when they suck it into Linus' tree or the tip tree.

Comment 7 Josh Boyer 2012-04-10 13:18:32 UTC
There wound up being two fixes needed.  These have been backported to all Fedora branches.  Will be in the next build of all of them.

Comment 8 leigh scott 2012-04-12 20:47:17 UTC
(In reply to comment #7)
> There wound up being two fixes needed.  These have been backported to all
> Fedora branches.  Will be in the next build of all of them.

Thank you.

The new kernels fix the build error so this bug report can be closed.

Comment 9 Fedora Update System 2012-04-14 00:40:11 UTC
kernel-2.6.43.2-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/kernel-2.6.43.2-2.fc15

Comment 10 Fedora Update System 2012-04-21 16:47:06 UTC
kernel-2.6.43.2-6.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/kernel-2.6.43.2-6.fc15

Comment 11 Fedora Update System 2012-04-26 03:28:20 UTC
kernel-2.6.43.2-6.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.