compile errors with gcc-4.7

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

compile errors with gcc-4.7

chrysn
hello openscad developers,

test builds of current HEAD with gcc 4.7 on linux failed, reporting an
error message i rather put into an attachment -- it seesm that c++
templates are being resolved in the message, and single lines of it are
up to 8k characters long.

this is not yet critical (from my debian packaging point of view --
there are about 330 other packages a this time, but they try to get 4.7
as default in the next release [1]), but it'd be cool if it worked.

regards
chrysn

[1] http://lists.debian.org/debian-arm/2012/04/msg00004.html

--
I shouldn't have written all those tank programs.
  -- Kevin Flynn

openscad_2012.04~.14-git2c27315-1_amd64.build-BAD_FROM_LOCAL.bz2 (5K) Download Attachment
signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: compile errors with gcc-4.7

chrysn
hello openscad developers,

On Sat, Apr 14, 2012 at 03:11:36PM +0200, chrysn wrote:
> this is not yet critical (from my debian packaging point of view --
> there are about 330 other packages a this time, but they try to get 4.7
> as default in the next release [1]), but it'd be cool if it worked.

as of this week[1], gcc4.7 is default on debian sid systems, including
the debian build servers.

builds with current HEAD (67eb2eb) still fail as described in the
previous mail.

an up-to-date system can still build openscad when configured to used
gcc-4.6 and g++-4.6.

please regard this as higher priority, it will soon affect other distros
too (ubuntu quantal)
chrysn

[1] http://packages.debian.org/changelogs/pool/main/g/gcc-defaults/current/changelog

--
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: compile errors with gcc-4.7

donbright
is there anywhere with free shell access to a debian sid system?


On Sat, May 12, 2012 at 1:25 PM, chrysn <[hidden email]> wrote:

> hello openscad developers,
>
> On Sat, Apr 14, 2012 at 03:11:36PM +0200, chrysn wrote:
>> this is not yet critical (from my debian packaging point of view --
>> there are about 330 other packages a this time, but they try to get 4.7
>> as default in the next release [1]), but it'd be cool if it worked.
>
> as of this week[1], gcc4.7 is default on debian sid systems, including
> the debian build servers.
>
> builds with current HEAD (67eb2eb) still fail as described in the
> previous mail.
>
> an up-to-date system can still build openscad when configured to used
> gcc-4.6 and g++-4.6.
>
> please regard this as higher priority, it will soon affect other distros
> too (ubuntu quantal)
> chrysn
>
> [1] http://packages.debian.org/changelogs/pool/main/g/gcc-defaults/current/changelog
>
> --
> To use raw power is to make yourself infinitely vulnerable to greater powers.
>  -- Bene Gesserit axiom
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
>

Reply | Threaded
Open this post in threaded view
|

Re: compile errors with gcc-4.7

chrysn
On Sat, May 12, 2012 at 11:16:49PM -0500, Don Bright wrote:
> is there anywhere with free shell access to a debian sid system?

to openscad developers who want to experiment on debian or ubuntu, i can
offer access to my build server virtual hosts, just mail me off list.

regards
chrysn

--
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: compile errors with gcc-4.7

donbright
In reply to this post by chrysn
Thanks for the access to a shell chrysn. Appreciate it. I haven't been
able to fix it but heres what i found so far.

Gcc 4.7 barfs on CGAL 4's
refine_Delaunay_mesh_2_without_edge_refinement() function, which
OpenSCAD calls from src/dxftess-cgal.cc

I experimented by replacing the function like this:

//      CGAL::refine_Delaunay_mesh_2_without_edge_refinement(cdt,
        CGAL::refine_Delaunay_mesh_2(cdt,

This compiles, but on my local machine it crashes on Example 20. I
dont understand what 'without_edge_refinement' is doing so Im a bit
stuck.

-DB

On Sat, May 12, 2012 at 1:25 PM, chrysn <[hidden email]> wrote:

> hello openscad developers,
>
> On Sat, Apr 14, 2012 at 03:11:36PM +0200, chrysn wrote:
>> this is not yet critical (from my debian packaging point of view --
>> there are about 330 other packages a this time, but they try to get 4.7
>> as default in the next release [1]), but it'd be cool if it worked.
>
> as of this week[1], gcc4.7 is default on debian sid systems, including
> the debian build servers.
>
> builds with current HEAD (67eb2eb) still fail as described in the
> previous mail.
>
> an up-to-date system can still build openscad when configured to used
> gcc-4.6 and g++-4.6.
>
> please regard this as higher priority, it will soon affect other distros
> too (ubuntu quantal)
> chrysn
>
> [1] http://packages.debian.org/changelogs/pool/main/g/gcc-defaults/current/changelog
>
> --
> To use raw power is to make yourself infinitely vulnerable to greater powers.
>  -- Bene Gesserit axiom
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad
>

Reply | Threaded
Open this post in threaded view
|

Re: compile errors with gcc-4.7

kintel
Administrator
On May 14, 2012, at 23:04 PM, Don Bright wrote:
> This compiles, but on my local machine it crashes on Example 20. I
> dont understand what 'without_edge_refinement' is doing so Im a bit
> stuck.
>
Perhaps this should be raised on the CGAL mailing list - it smells a bit like a CGAL issue.

 -Marius


Reply | Threaded
Open this post in threaded view
|

Re: compile errors with gcc-4.7

kintel
Administrator
In reply to this post by donbright
Chrysn & al.,

See forwarded message. Have you tried this?

 -Marius

Begin forwarded message:

> From: Pierre DOUCET <[hidden email]>
> Date: May 18, 2012 12:31:47 PM EDT
> To: Marius Kintel <[hidden email]>
> Subject: Re: [openscad] Can't build on Archlinux since a few weeks (#117)
>
> Great !
>
> You're right, i found this patch to apply on CGAL. Now everything is OK !
>
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-mathematics/cgal/files/cgal-4.0-gcc47.patch?view=markup
>
> Thank's
>
> Pierre
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/openscad/openscad/issues/117#issuecomment-5790079



Reply | Threaded
Open this post in threaded view
|

Re: compile errors with gcc-4.7

donbright
Thanks! bicatali's CGAL patch allows compilation of OpenSCAD on the
gcc 4.7 machine that Chrysn provided, with no changes to OpenSCAD
itself. GLX is not up yet on the box so I haven't been able to
test-run anything yet.

-DB

On Fri, May 18, 2012 at 11:38 AM, Marius Kintel <[hidden email]> wrote:

> Chrysn & al.,
>
> See forwarded message. Have you tried this?
>
>  -Marius
>
> Begin forwarded message:
>
>> From: Pierre DOUCET <[hidden email]>
>> Date: May 18, 2012 12:31:47 PM EDT
>> To: Marius Kintel <[hidden email]>
>> Subject: Re: [openscad] Can't build on Archlinux since a few weeks (#117)
>>
>> Great !
>>
>> You're right, i found this patch to apply on CGAL. Now everything is OK !
>>
>> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-mathematics/cgal/files/cgal-4.0-gcc47.patch?view=markup
>>
>> Thank's
>>
>> Pierre
>>
>> ---
>> Reply to this email directly or view it on GitHub:
>> https://github.com/openscad/openscad/issues/117#issuecomment-5790079
>
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://rocklinux.net/mailman/listinfo/openscad

Reply | Threaded
Open this post in threaded view
|

Re: compile errors with gcc-4.7

chrysn
thanks, marius and db. i've reported[1] the problem to the debian cgal
package; there'll soon be a debian package incorporating the patch.

it seems gentoo is already using it, other distributions will either
follow suit or wait for the cgal project to incorporate it and push a
release.

[1] http://bugs.debian.org/673554

--
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom

signature.asc (836 bytes) Download Attachment