FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-28-2007, 04:31 AM
"Andrey Vul"
 
Default graphviz-2.12 fails to compile

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?
--
Andrey Vul
int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell
o, world!
",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}
hail ioccc
--
gentoo-user@gentoo.org mailing list
 
Old 11-28-2007, 12:17 PM
Albert Hopkins
 
Default graphviz-2.12 fails to compile

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

--
gentoo-user@gentoo.org mailing list
 
Old 11-28-2007, 05:15 PM
"Andrey Vul"
 
Default graphviz-2.12 fails to compile

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 <marduk@letterboxes.org> 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
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Andrey Vul
int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell
o, world!
",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}
hail ioccc
--
gentoo-user@gentoo.org mailing list
 
Old 11-28-2007, 11:01 PM
"Andrey Vul"
 
Default graphviz-2.12 fails to compile

On Nov 28, 2007 8:17 AM, Albert Hopkins <marduk@letterboxes.org> 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.
>

I removed the '-finline-functions' from my CFLAGS and the same error
still happens.


--
Andrey Vul
int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell
o, world!
",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}
hail ioccc
--
gentoo-user@gentoo.org mailing list
 
Old 11-30-2007, 05:26 AM
"Andrey Vul"
 
Default graphviz-2.12 fails to compile

http://bugs.gentoo.org/show_bug.cgi?id=199831
--
Andrey Vul
int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell
o, world!
",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);}
hail ioccc
--
gentoo-user@gentoo.org mailing list
 

Thread Tools




All times are GMT. The time now is 04:51 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org