Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL segfaults on g++ 4.8.1

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL segfaults on g++ 4.8.1


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL segfaults on g++ 4.8.1
  • Date: Mon, 12 Jan 2015 10:45:12 +0100
  • Organization: GeometryFactory

On 01/12/2015 10:31 AM, Etienne Vouga wrote:
Although 4.8 is listed as a supported platform, I discovered that due to a
bug in gcc it is unsafe to use cgal with g++ 4.8.1: everything compiles but
you get random segfaults when building AABB trees.

I switched to g++ 4.7 which resolved the issue.

While I fully understand this is the fault of GCC, and not CGAL, many users
on Ubuntu 13.10 will have 4.8.1 installed as their default compiler. Please
consider adding a note on the CGAL web site or install documentation so that
they may avoid this pitfall.


In your case, were you using the CGAL version coming with Ubuntu?
If not, then we could add something preventing from compiling the CGAL
library if a buggy compiler is used. But this will not solve the pb
for people using the version shipped with their distribution.

Sebastien.

Best,
Etienne



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/CGAL-segfaults-on-g-4-8-1-tp4660298.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page