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:05:22 +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=KmEw1vCoFmjV8n7SUbawndD0Di+O73hbxKGHa6Ki5JI=; b=HSngCZdnyn9iIBfeX6RE4UVxoRJBavuHAO/2ezWfi0eZGivdRDcWlk9ekzm9nwKj8+ BgdlfKaNGyWRgBVxd3X3bJxlRbH1pY2SkW6LR32OJmrZWs4rt3cbS338xHbLAoPpm+kl w/8Cvrg8cKvkngB3aQrZlbAR+ohnRwXQw53ki4c0vq28TEJdydfA9hunCmITgonFb/PN brvgp0k46wT/KJKlUuZ9YyOFBDoV2v3HWx7c8XRoVnc1ML+v+RtHMMreDbTzSr+5OAvG wB7HgvfXUgGx2rouWKV4HinUxVkCZt2H+YjTRnMbMibHN0DV2ep4TcK7sKa6WHiYixRX CWpg==
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."
>
>