How do I enable custom CFLAGS for graphviz (or at least cancel out the
inlining flag in the ebuilld)?
Also, could this be a gcc-4.2 bug?
If it is, I'll send a bug report to the gcc mailing list.

On 11/28/07, Albert Hopkins <[EMAIL PROTECTED]> wrote:
>
> On Wed, 2007-11-28 at 00:31 -0500, Andrey Vul wrote:
> > last few lines of build log:
> > [libtool]
> > x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gvc
> > -I../../lib/common -I../../lib/graph -I../../lib/cdt
> > -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE
> > -I/usr/include/python2.5 -O2 -pipe -march=athlon64 -msse3
> > -mtune=athlon64 -finline-functions -MT gv_perl.lo -MD -MP -MF
> > .deps/gv_perl.Tpo -c gv_perl.cpp -fPIC -DPIC -o .libs/gv_perl.o
> > [libtool]
> > x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gvc
> > -I../../lib/common -I../../lib/graph -I../../lib/cdt
> > -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE
> > -I/usr/include/python2.5 -O2 -pipe -march=athlon64 -msse3
> > -mtune=athlon64 -finline-functions -MT gv_python.lo -MD -MP -MF
> > .deps/gv_python.Tpo -c gv_python.cpp -fPIC -DPIC -o .libs/gv_python.o
> > gv_perl.cpp:1761: error: invalid use of 'static' in linkage specification
> > make[3]: *** [gv_perl.lo] Error 1
> > [make stack]
> >
> > known bug or is something wtf?
>
> >From the looks of it, your -finline-functions flag allowed a static
> function to be compiled inline and caused some kind of linkage problem.
>
> --
> Albert W. Hopkins
>
> --
> [EMAIL PROTECTED] mailing list
>
>


-- 
Andrey Vul
int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell\
o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}
hail ioccc
-- 
[EMAIL PROTECTED] mailing list

Reply via email to