About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Pötzl (herbert_at_13thfloor.at)
Date: Wed 30 Jul 2003 - 07:38:49 BST


On Wed, Jul 30, 2003 at 01:54:07AM +0200, Enrico Scholz wrote:
> Hello,
>
> the vserver-0.23 utilities are failing to build with gcc-3.3:
>
> | $ make
> | ...
> | gcc -static -funsigned-char -Wall -g -O -DVERSION=\"0.23\" vreboot.cc -o vreboot
> | /tmp/ccuTmRus.o(.eh_frame+0x11): In function `vreboot_connect':
> | /var/tmp/vserver-0.23/vreboot.cc:24: undefined reference to `__gxx_personality_v0'
> | collect2: ld returned 1 exit status

I do not consider gcc-3.3 stable yet, and the gcc people
change it every day ...

> I solved[1] this with a more or less complicated 's!...!...!' over the
> Makefile, but this is ugly and must be adjusted in every version. So I
> am asking:
>
> * whether there exists any reason to write the tools in C++? I like C++
> but the shipped files are nearly plain C and when compiling them in
> this language, the error-prone explicit '-lstdc++' would disappear

I agree on that, it would be _much_ better to have
plain C tools for vserver ...

> * whether there are plans to use more modern build-methods (e.g. automake)?
> The current method makes e.g. ccache[2] useless because it compiles and
> links at the same stage. It is difficulty also, to use special makeflags
> or cross-compilers.

why don't you start a rewrite of the tool package ...
I am willing to test the functionality ...

best,
Herbert

> Enrico
>
> Footnotes:
> [1] https://bugzilla.fedora.us/show_bug.cgi?id=512
> [2] http://ccache.samba.org


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 30 Jul 2003 - 08:00:32 BST by hypermail 2.1.3