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: Dominique Michel <dominique.michel@xxxxxxxxx>
- Date: Sat, 30 Mar 2013 21:58:51 +0100
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEXy8ubtkoXo7+b1+fbN cGKCeWDtamweFA8eMkmKPkPtvcWRoqyV0Pn7AAACbElEQVQ4jXXTMWvbQBQA4MOlizsdXEXp KAi09mKcLZ0EJxONDRJVkikg9AtqTm63gtHDmVJs1GsnC0JiaTMJGN2f67uzznJb+gZj9PFO 7717IqdtvCAmem4bxMLp/2BEyEBF1+U/0H8uhI6rv+BVLNrY/gH9T0L8yAxk2yMY3YuZxDCn TY/gpBByyTGktIcZOIvFjPNJmqYJDwrx3cIoBrE0zzG4FF8tfBAwM+DonKCYWjgROZ6Upjcm 5Qje58JAmlKKGfIAjzaDUuogZBY2Bjg14eDbywMIqZvwqgqFBcVFB0seYONLb00ZZlh4p0F6 FHNoUMyKAzxowJSQTyj+XloYs3MN3GeMpzyYSTMshLM00ODpWlPp4SDbqs4cViDcGAgmlK/a PsaOg7DvIQ3wzANMqB/iQW/XTkoTLO6XhSeHUoQKe+NLjyY/Ldx7CW2D4WTYhZ3V0GP64RpP Q/E66IUWMLj3+nDn4w2ejMACyXFeHZy6ETcZehc49bv1GQ/0bazNuzm97mDkhnoie9i30WYM w/YCnYT7Fx308s98n0IT//Jod1+aOzdzYXLVbftol+PC+REG3u+0AxdEtuSMB6G+DLGwMH4E vXGmJn8VCLM9LhmrOAMQYt5Wi/DFgIC52iFkUzMpDVmjAaDZRGC+JGwDqzJ/G5fUUcWZAaE7 YfvPLYtIU1Wb4A2IeS7uDMgcIFutiCr766qGfKHyuxvTIERKXVNSN27lDgCuBuojlpxIyJV6 ritS1uWWuHF2Ww7qcIKbqEFVNbmtmm3vGSCHbVXjikrY3SpVxwQWw2aIjwG+ueXTJDmHeK6a HfwGyU5ZSlGeSRQAAAAASUVORK5CYII=
Le Sat, 30 Mar 2013 21:17:26 +0100,
Karl Lindén <spray.sucks@xxxxxxxxx> a écrit :
> Now I got it to compile and install. I get the warning from gcc but
> portage does not give me a QA. Strange indeed...
I think this must be a side effect of CFLAGS="-ggdb" and
FEATURES="splitdebug". Or a portage bug. I will ask on the forum if
nobody knows here.
>
> 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."
> >>
> >>
>
>
--
"We have the heroes we deserve."