LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Errors when compiling kernel on slackware-current (http://www.linuxquestions.org/questions/slackware-14/errors-when-compiling-kernel-on-slackware-current-4175447357/)

m23 01-26-2013 02:35 PM

Errors when compiling kernel on slackware-current
 
Hi, this is my first post on this forum. So hello:) Recently I had some problems with compiling kernel. I've tried many times with latest 3.8-rc5, 3.7.4, 3.4.27 etc and always after random time (~20-60 minutes) I was getting errors like this
Code:

{standard input}: Assembler messages:
{standard input}:129: Error: junk at end of line, first unrecognized character is `"'
{standard input}:132: Error: bad register name `%e'
{standard input}:133: Error: bad register name `%e'
{standard input}:134: Error: bad register name `%e'
{standard input}:135: Error: bad register name `%e'
{standard input}:136: Error: bad register name `%e'
{standard input}:137: Error: missing or invalid immediate expression `'
{standard input}:138: Error: bad register name `%e)'
{standard input}:139: Error: bad register name `%e'
{standard input}:140: Error: bad register name `%e'
{standard input}:141: Error: bad register name `%e'
{standard input}:142: Error: no such instruction: `j '
{standard input}:143: Error: bad register name `%e)'
{standard input}:144: Error: missing or invalid immediate expression `'
{standard input}:145: Error: no such instruction: `j '
{standard input}:146: Error: number of operands mismatch for `jmp'
{standard input}:147: Error: missing or invalid immediate expression `'
{standard input}:148: Error: no such instruction: `j '
{standard input}:149: Error: number of operands mismatch for `jmp'
{standard input}:150: Error: bad register name `%e)'
{standard input}:151: Error: bad register name `%e'
{standard input}:152: Error: number of operands mismatch for `call'
{standard input}:153: Error: missing or invalid immediate expression `'
{standard input}:154: Error: bad register name `%e'
{standard input}:155: Error: bad register name `%e)'
{standard input}:156: Error: bad register name `%e)'
{standard input}:157: Error: bad register name `%'
{standard input}:158: Error: bad register name `%'
{standard input}:159: Error: bad register name `%e'
{standard input}:160: Error: no such instruction: `j '
{standard input}:161: Error: bad register name `%e)'
{standard input}:162: Error: bad register name `%e)'
{standard input}:163: Error: bad register name `%e)'
{standard input}:164: Error: bad register name `%e'
{standard input}:165: Error: bad register name `%e)'
{standard input}:166: Error: bad register name `%e'
{standard input}:167: Error: missing or invalid immediate expression `'
{standard input}:168: Error: missing or invalid immediate expression `'
{standard input}:169: Error: number of operands mismatch for `call'
{standard input}:170: Error: bad register name `%e'
{standard input}:171: Error: bad register name `%e'
{standard input}:172: Error: no such instruction: `j '
{standard input}:173: Error: bad register name `%e'
{standard input}:174: Error: bad register name `%e)'
{standard input}:175: Error: missing or invalid immediate expression `'
{standard input}:176: Error: number of operands mismatch for `jmp'
{standard input}:177: Error: bad register name `%e)'
{standard input}:178: Error: missing or invalid immediate expression `'
{standard input}:179: Error: no such instruction: `j '
{standard input}:180: Error: bad register name `%e)'
{standard input}:181: Error: missing or invalid immediate expression `'
{standard input}:182: Error: bad register name `%'
{standard input}:183: Error: missing or invalid immediate expression `'
{standard input}:184: Error: no such instruction: `j '
{standard input}:185: Error: missing or invalid immediate expression `'
{standard input}:186: Error: no such instruction: `j '
{standard input}:187: Error: missing or invalid immediate expression `'
{standard input}:188: Error: bad register name `%e)'
{standard input}:189: Error: missing or invalid immediate expression `'
{standard input}:190: Error: number of operands mismatch for `jmp'
{standard input}:191: Error: number of operands mismatch for `call'
{standard input}:192: Error: missing or invalid immediate expression `'
{standard input}:193: Error: bad register name `%e'
{standard input}:194: Error: bad register name `%e)'
{standard input}:195: Error: bad register name `%e)'
{standard input}:196: Error: number of operands mismatch for `call'
{standard input}:197: Error: bad register name `%e'
{standard input}:198: Error: bad register name `%e'
{standard input}:199: Error: missing or invalid immediate expression `'
{standard input}:200: Error: missing or invalid immediate expression `'
{standard input}:201: Error: missing or invalid immediate expression `'
{standard input}:202: Error: number of operands mismatch for `call'
{standard input}:203: Error: number of operands mismatch for `jmp'
{standard input}:204: Error: bad register name `%e)'
{standard input}:205: Error: bad register name `%e'
{standard input}:206: Error: no such instruction: `j '
{standard input}:207: Error: bad register name `%e'
{standard input}:208: Error: number of operands mismatch for `jmp'
{standard input}:209: Error: missing or invalid immediate expression `'
{standard input}:210: Error: no such instruction: `j '
{standard input}:211: Error: missing or invalid immediate expression `'
{standard input}:212: Error: number of operands mismatch for `jmp'
{standard input}:213: Error: bad register name `%e)'
{standard input}:214: Error: bad register name `%e)'
{standard input}:215: Error: missing or invalid immediate expression `'
{standard input}:216: Error: missing or invalid immediate expression `'
{standard input}:217: Error: bad register name `%e)'
{standard input}:218: Error: bad register name `%e'
{standard input}:219: Error: missing or invalid immediate expression `'
{standard input}:220: Error: bad register name `%e'
{standard input}:221: Error: bad register name `%e)'
{standard input}:222: Error: bad register name `%e'
{standard input}:223: Error: bad register name `%e)'
{standard input}:224: Error: bad register name `%e'
{standard input}:225: Error: missing or invalid immediate expression `'
{standard input}:226: Error: number of operands mismatch for `call'
{standard input}:227: Error: bad register name `%e'
{standard input}:228: Error: bad register name `%e'
{standard input}:229: Error: no such instruction: `j '
{standard input}:230: Error: missing or invalid immediate expression `'
{standard input}:231: Error: no such instruction: `j '
{standard input}:232: Error: bad register name `%e)'
{standard input}:233: Error: bad register name `%e)'
{standard input}:234: Error: missing or invalid immediate expression `'
{standard input}:235: Error: no such instruction: `j '
{standard input}:236: Error: missing or invalid immediate expression `'
{standard input}:237: Error: bad register name `%'
{standard input}:238: Error: bad register name `%e)'
{standard input}:239: Error: bad register name `%'
{standard input}:240: Error: bad register name `%e)'
{standard input}:241: Error: number of operands mismatch for `call'
{standard input}:242: Error: bad register name `%e'
{standard input}:243: Error: no such instruction: `j '
{standard input}:244: Error: bad register name `%e)'
{standard input}:245: Error: bad register name `%e'
{standard input}:246: Error: bad register name `%e)'
{standard input}:247: Error: number of operands mismatch for `call'
{standard input}:248: Error: bad register name `%e'
{standard input}:249: Error: bad register name `%e'
{standard input}:250: Error: no such instruction: `j '
{standard input}:251: Error: bad register name `%e'
{standard input}:252: Error: no such instruction: `j '
{standard input}:253: Error: bad register name `%e)'
{standard input}:254: Error: number of operands mismatch for `call'
{standard input}:255: Error: bad register name `%e'
{standard input}:256: Error: bad register name `%e'
{standard input}:257: Error: no such instruction: `j '
{standard input}:258: Error: bad register name `%e)'
{standard input}:259: Error: bad register name `%e'
{standard input}:260: Error: no such instruction: `j '
{standard input}:261: Error: bad register name `%e'
{standard input}:262: Error: bad register name `%e)'
{standard input}:263: Error: bad register name `%e'
{standard input}:264: Error: bad register name `%e)'
{standard input}:265: Error: number of operands mismatch for `call'
{standard input}:266: Error: bad register name `%e'
{standard input}:267: Error: number of operands mismatch for `call'
{standard input}:268: Error: bad register name `%e)'
{standard input}:269: Error: bad register name `%e'
{standard input}:270: Error: bad register name `%e'
{standard input}:271: Error: number of operands mismatch for `jmp'
{standard input}:272: Error: missing or invalid immediate expression `'
{standard input}:273: Error: number of operands mismatch for `jmp'
{standard input}:274: Error: bad register name `%e)'
{standard input}:275: Error: missing or invalid immediate expression `'
{standard input}:276: Error: bad register name `%e'
{standard input}:277: Error: missing or invalid immediate expression `'
{standard input}:278: Error: number of operands mismatch for `call'
{standard input}:279: Error: missing or invalid immediate expression `'
{standard input}:280: Error: bad register name `%e'
{standard input}:281: Error: bad register name `%e'
{standard input}:282: Error: bad register name `%e'
{standard input}:283: Error: bad register name `%e'
{standard input}:284: Error: bad register name `%e'
{standard input}:289: Error: bad register name `%e'
{standard input}:290: Error: bad register name `%e'
{standard input}:291: Error: missing or invalid immediate expression `'
{standard input}:292: Error: no such instruction: `j '
{standard input}:293: Error: missing or invalid immediate expression `'
{standard input}:294: Error: no such instruction: `j '
{standard input}:295: Error: bad register name `%e'
{standard input}:296: Error: no such instruction: `j '
{standard input}:297: Error: missing or invalid immediate expression `'
{standard input}:298: Error: missing or invalid immediate expression `'
{standard input}:299: Error: missing or invalid immediate expression `'
{standard input}:300: Error: number of operands mismatch for `jmp'
{standard input}:301: Error: missing or invalid immediate expression `'
{standard input}:302: Error: missing or invalid immediate expression `'
{standard input}:303: Error: missing or invalid immediate expression `'
{standard input}:304: Error: bad register name `%e'
{standard input}:305: Error: number of operands mismatch for `jmp'
{standard input}:306: Error: missing or invalid immediate expression `'
{standard input}:307: Error: missing or invalid immediate expression `'
{standard input}:308: Error: missing or invalid immediate expression `'
{standard input}:309: Error: number of operands mismatch for `jmp'
{standard input}:310: Error: missing or invalid immediate expression `'
{standard input}:311: Error: bad register name `%e'
{standard input}:315: Error: junk at end of line, first unrecognized character is `"'
make[3]: *** [drivers/acpi/acpica/dswload.o] Error 1
make[2]: *** [drivers/acpi/acpica] Error 2
make[1]: *** [drivers/acpi] Error 2
make: *** [drivers] Error 2

It never happened before. I changed cpu (Sempron 32bit --> Athlon 64, both socket 754) and couldn't compile kernel since.
I run slackware-current (32bit) and have no problems with compiling/using other software. Any ideas?

EDIT:
It seems that the problem was one of memory modules (tested with memtest86). I've compiled kernel successfully.

wildwizard 01-26-2013 03:26 PM

Change the CPU type back to a 32bit CPU, the Athlon64 is 64bit hence its name.

You will probably also have to do the "make clean" and possible others to clean the tree back up.


All times are GMT -5. The time now is 02:25 AM.