[so2] Fwd: [Tema 1] Probleme dupa update
Victor Dodon
dodonvictor at gmail.com
Mon Mar 17 22:28:19 EET 2014
---------- Forwarded message ----------
From: Claudiu Olteanu <olteanu.claudiu at ymail.com>
Date: 2014-03-17 22:27 GMT+02:00
Subject: Re: [so2] [Tema 1] Probleme dupa update
To: Victor Dodon <dodonvictor at gmail.com>
gcc-multilib imi lipsea. Multumesc!
Claudiu
On Monday, March 17, 2014 10:25 PM, Victor Dodon <dodonvictor at gmail.com> wrote:
2014-03-17 22:19 GMT+02:00 Claudiu Olteanu <olteanu.claudiu at ymail.com>:
> Am instalat si pachetul libgcc1 :).
>
> Multumesc oricum!
> Claudiu
>
>
Întrucât compilezi cu -m32 pe platformă x86_64, îți trebuie libc6-i386
și gcc-multilib, pe lângă asta s-ar putea să mai ai nevoie de ceva
pachete.
Victor.
>
>
> On Monday, March 17, 2014 10:15 PM, Victor Dodon <dodonvictor at gmail.com>
> wrote:
> 2014-03-17 22:00 GMT+02:00 Claudiu Olteanu <olteanu.claudiu at ymail.com>:
>> Salut,
>>
>> Dupa ce am facut update la masina virtuala, primesc urmatoarea eroare in
>> urma unui apel write_lock():
>> BUG: rwlock bad magic on CPU#0, insmod/895, c8878628
>> CPU: 0 PID: 895 Comm: insmod Tainted: G 0 3.13.0 #20
>> [.....]
>> Call Trace:
>> [<c175dacc>] dump_stack+0x41/0x52
>> [<c175af0c>] rwlock_bug +0x57/0x5e
>> [<c107cd2d>] do_raw_read_lock+0x2d/0x30
>> [<c1766eaf>] _raw_read_lock+03f/0x50
>> [....]
>>
>> De asemenea, atunci cand incerc sa compilez testele primesc la final:
>> cp _helper/tracer_helper.ko .
>> cc -Wall -g -m32 -static -o tracer_test _test/tracer_test.o
>> /usr/bin/ld: skipping incompatible
>> /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc.a when searching for -lgcc
>> /usr/bin/ld: cannot find -lgcc
>> /usr/bin/ld: skipping incompatible
>> /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc_eh.a when searching for -lgcc_eh
>> /usr/bin/ld: cannot find -lgcc_eh
>>
>
> Pentru asta s-ar putea să ai nevoie de pachetul libgcc1.
>
> Victor.
>
>
>> iar atunci cand incerc sa inserez modulul tracer_helper.ko mi se genereaza
>> urmatoarea eroare:
>> "unknown symbol in module, or unknown parameter".
>>
>> versiunea compilatorului este gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1
>>
>> Aveti idee cum as putea rezolva problemele?
>>
>> Multumesc,
>> Claudiu
>
>>
>>
>>
>> _______________________________________________
>> http://ocw.cs.pub.ro/courses/so2/resurse/lista-discutii
>
More information about the so2
mailing list