compiler skewed?

Declan Moriarty junk_mail at
Thu Dec 29 08:01:47 PST 2005

I am getting an irritating number of compiles dying in hlfs, and
am beginning to presume the problem is me. I just ran off to
another system and the kernel compiled _no_hassle_ :-(. I did
remember to switch off the grsecurity options as instructed.

Feedback on xorg-7.0.0 is poor - compiling is awkward to put it
mildly, nobody has come up with a Makefile/Imakefile yet, no
instructions are around, and generally the install stage sucks.
READMEs are zero bytes, patches don't fit and if you want to do
something clever you're in for a bit of work.

DRM drivers:

  CC [M]
In function `drm_ctxbitmap_next':
include/asm/bitops.h:289: error: can't find a register in class
`BREG' while reloading `asm'
make[3]: ***
Error 1
make[2]: ***
Error 2
make[2]: Leaving directory `/usr/src/linux-'
make[1]: *** [modules] Error 2
Kernel compile (, SVN-20051221 book instructions.

  CHK     include/linux/version.h
  CC      init/main.o
init/main.c: In function `unknown_bootoption':
init/main.c:249: warning: asm operand 1 probably doesn't match
init/main.c:249: error: impossible constraint in `asm'
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

This bit of init/main.c - Line 249 is 'BUG();'

        /* Change NUL term back to "=", to make "param" the whole
 * string. */
        if (val) {
                /* param=val or param="val"? */
                if (val == param+strlen(param)+1)
                        val[-1] = '=';
                else if (val == param+strlen(param)+2) {
                        val[-2] = '=';
                        memmove(val-1, val, strlen(val)+1);
                } else


	With best Regards,

	Declan Moriarty.

More information about the hlfs-dev mailing list