1 |
On Nov 28, 2007 8:17 AM, Albert Hopkins <marduk@×××××××××××.org> wrote: |
2 |
> |
3 |
> On Wed, 2007-11-28 at 00:31 -0500, Andrey Vul wrote: |
4 |
> > last few lines of build log: |
5 |
> > [libtool] |
6 |
> > x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gvc |
7 |
> > -I../../lib/common -I../../lib/graph -I../../lib/cdt |
8 |
> > -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE |
9 |
> > -I/usr/include/python2.5 -O2 -pipe -march=athlon64 -msse3 |
10 |
> > -mtune=athlon64 -finline-functions -MT gv_perl.lo -MD -MP -MF |
11 |
> > .deps/gv_perl.Tpo -c gv_perl.cpp -fPIC -DPIC -o .libs/gv_perl.o |
12 |
> > [libtool] |
13 |
> > x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gvc |
14 |
> > -I../../lib/common -I../../lib/graph -I../../lib/cdt |
15 |
> > -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE |
16 |
> > -I/usr/include/python2.5 -O2 -pipe -march=athlon64 -msse3 |
17 |
> > -mtune=athlon64 -finline-functions -MT gv_python.lo -MD -MP -MF |
18 |
> > .deps/gv_python.Tpo -c gv_python.cpp -fPIC -DPIC -o .libs/gv_python.o |
19 |
> > gv_perl.cpp:1761: error: invalid use of 'static' in linkage specification |
20 |
> > make[3]: *** [gv_perl.lo] Error 1 |
21 |
> > [make stack] |
22 |
> > |
23 |
> > known bug or is something wtf? |
24 |
> |
25 |
> >From the looks of it, your -finline-functions flag allowed a static |
26 |
> function to be compiled inline and caused some kind of linkage problem. |
27 |
> |
28 |
|
29 |
I removed the '-finline-functions' from my CFLAGS and the same error |
30 |
still happens. |
31 |
|
32 |
|
33 |
-- |
34 |
Andrey Vul |
35 |
int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell\ |
36 |
o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} |
37 |
hail ioccc |
38 |
-- |
39 |
gentoo-user@g.o mailing list |