chyby při kompilaci

Antonín Kolísek antonin.kolisek na centrum.cz
Úterý Říjen 11 18:48:29 CEST 2005


Dobrý den,
  dnes jsem zkusil sestavit nový linux-2.6.13.4. 

Postup:
- make mrproper
- nakopírování .config z 2.6.13.1
- make oldconfig
- make menuconfig (prohlédnutí je-li vše OK)
- make
první error:
...
 LD      drivers/scsi/qla2xxx/built-in.o
 CC      drivers/serial/serial_core.o
*** glibc detected *** double free or corruption (!prev): 0x084dd188 ***
drivers/serial/serial_core.c: In function `uart_set_info':
drivers/serial/serial_core.c:799: internal compiler error: Neúspěšně ukončen 
(SIGABRT)
Please submit a full bug report,
with preprocessed source if appropriate.
See URL: gcc.gnu.org/bugs.html for instructions.
make[2]: *** [drivers/serial/serial_core.o] Error 1
make[1]: *** [drivers/serial] Error 2
make: *** [drivers] Error 2

make clean
make
vše OK

zkouším ještě jednou (pro jistotu)
make clean
make
druhý error:
..
 LD      drivers/char/agp/built-in.o
 CC [M]  drivers/char/agp/backend.o
{standard input}: Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline 
inserted
gcc: Internal error: Neoprávněný přístup do paměti (SIGSEGV) (program cc1)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
make[3]: *** [drivers/char/agp/backend.o] Error 1
make[2]: *** [drivers/char/agp] Error 2
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

zkouším po třetí :)
make clean
make
vše OK

Zajímalo by mne čím je takové chování dáno.
Testoval jsem RAM memtestem86 a po asi třech hodinách (test se 3x
zopakoval) vše OK. Procesor se nezahřívá.

Vytížil jsem PC tak aby se co nejvíce zatížilo CPU RAM a swap a dmesg
mi hlásí:

Bad page state at prep_new_page (in process 'cc1', page c13de000)
flags:0x40000004 mapping:00000000 mapcount:0 count:-9
Backtrace:
 [<c013671f>] bad_page+0x6f/0xb0
 [<c0136a3d>] prep_new_page+0x2d/0x60
 [<c0136efc>] buffered_rmqueue+0xdc/0x190
 [<c0137426>] __alloc_pages+0x3c6/0x410
 [<c0140afb>] do_anonymous_page+0x4b/0x110
 [<c0140c1f>] do_no_page+0x5f/0x2b0
 [<c014101e>] __handle_mm_fault+0xbe/0x120
 [<c0110aa7>] do_page_fault+0x187/0x594
 [<c01268e0>] autoremove_wake_function+0x0/0x50
 [<c015678b>] sys_fstat64+0x2b/0x30
 [<c0162a19>] dput+0x179/0x180
 [<c014e89e>] __fput+0xfe/0x170
 [<c014d053>] filp_close+0x43/0x70
 [<c0110920>] do_page_fault+0x0/0x594
 [<c0102d3f>] error_code+0x4f/0x54
Trying to fix it up, but a reboot is needed

Jedná se o práblém se swapem?



Slackware-current, linux-2.6.13.1, gcc-3.3.6

Děkuji za každou radu.

-- 
Antonín Kolísek akolisek na linuxx.hyperlinx.cz
http://linuxx.hyperlinx.cz


Další informace o konferenci Linux