compiler skewed?

Declan Moriarty junk_mail at iol.ie
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]
/usr/src/extras/Mesa-6.4.1/radeon-20051220-linux.i386/drm/linux-core/drm_context.o
/usr/src/extras/Mesa-6.4.1/radeon-20051220-linux.i386/drm/linux-core/drm_context.c:
In function `drm_ctxbitmap_next':
include/asm/bitops.h:289: error: can't find a register in class
`BREG' while reloading `asm'
make[3]: ***
[/usr/src/extras/Mesa-6.4.1/radeon-20051220-linux.i386/drm/linux-core/drm_context.o]
Error 1
make[2]: ***
[_module_/usr/src/extras/Mesa-6.4.1/radeon-20051220-linux.i386/drm/linux-core]
Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.14.3'
make[1]: *** [modules] Error 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kernel compile (2.6.14.3), 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
constraints
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);
                        val--;
                } else
                        BUG();
        }

-- 

	With best Regards,


	Declan Moriarty.



More information about the hlfs-dev mailing list