Re: [proaudio] QA Notice: strange behaviour |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
- To: proaudio@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [proaudio] QA Notice: strange behaviour
- From: Karl Lindén <spray.sucks@xxxxxxxxx>
- Date: Sat, 30 Mar 2013 21:17:26 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=rV9bOzkBfCcEXvN8Ke6YERe8czbucNHQaJQB1Xi5ocU=; b=gNdVqBjd+MrXKwOx29EuwNhkcMGiHhk+kyJHOgwFkfOQ0NBDDB0ul3JZiKA5x1zQrh 2GNRTDRv/gAqQYuTEN+lVxC4NTAIKYp7Hm9e29PoDRgwDjeAIOiWHi7xU7N2s1iARy+P xIsnW8NWqNqFJqh/Fy367R8w2gCKnvG4jLa692jjSa6gtPd0yvXNkws36gv77xn14tK4 rTUQ8v8JLk+yy08hhHttIwgB5ZMKNLSHHJdSR29Co4KsvbpGattFteEboCaVaYkwv2Z/ pYw/AOiinSDORp07xEF8T/VByHSlUMK/2OG0B8+THMclqRatHG0ytxV1h14UY+pHQsCz DC/Q==
Now I got it to compile and install. I get the warning from gcc but
portage does not give me a QA. Strange indeed...
2013/3/30 Karl Lindén <spray.sucks@xxxxxxxxx>:
> I get that warning on my box too.
> CFLAGS="-march=amdfam10 -O2 -pipe" in my case.
> Standard FEATURES.
>
> I think there is an "#include <math.h>" missing.
>
> I also get the following error:
> x86_64-pc-linux-gnu-gcc -march=amdfam10 -O2 -pipe -Wl,-O1
> -Wl,--as-needed -o raton main.o support.o interface.o callbacks.o
> midicontrol.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0
> -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0
> -lgobject-2.0 -lglib-2.0 -lfreetype -lfontconfig -lasound
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld:
> callbacks.o: undefined reference to symbol 'sin@@GLIBC_2.2.5'
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld:
> note: 'sin@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try
> adding it to the linker command line
> /lib64/libm.so.6: could not read symbols: Invalid operation
> collect2: error: ld returned 1 exit status
>
> I have fixed these types of bugs before so I can fix it. The -lm is missing.
>
> Karl
>
> 2013/3/30 Dominique Michel <dominique.michel@xxxxxxxxx>:
>> I noticed that QA Notice doesn't behave the same in my 2 gentoo boxes.
>>
>> When merging raton in the new one, I get no QA Notice, but in the old
>> one, I get:
>>
>> * QA Notice: Package triggers severe warnings which indicate that it
>> * may exhibit random runtime failures.
>> * callbacks.c:671:9: warning: incompatible implicit declaration of
>> built-in function ‘sin’ [enabled by default]
>>
>> This is with the same gcc version (4.7.2).
>> The only differences that can trigger this are the CFLAGS or the
>> FEATURES.
>>
>> New box:
>> CFLAGS="-march=amdfam10 -mcx16 -msahf -mpopcnt -mabm --param
>> l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -O2 -pipe"
>> FEATURES="parallel-fetch userfetch"
>>
>> Old box:
>> CFLAGS="-march=native -O2 -pipe -ggdb"
>> FEATURES="parallel-fetch userfetch splitdebug"
>>
>> Dominique
>> --
>> "We have the heroes we deserve."
>>
>>