Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188050 - net-dns/pdns-recursor-3.1.4 fails with gcc-4.2
Summary: net-dns/pdns-recursor-3.1.4 fails with gcc-4.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.2
  Show dependency tree
 
Reported: 2007-08-07 21:29 UTC by steveb
Modified: 2007-09-22 19:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pdns-recursor-3.1.4-gcc4.patch (pdns-recursor-3.1.4-gcc4.patch,528 bytes, patch)
2007-08-07 21:30 UTC, steveb
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description steveb 2007-08-07 21:29:39 UTC
When trying to emerge pdns-recursor with gcc 4 then I get the following error:
i686-pc-linux-gnu-g++ -O2 -march=pentium3 -mtune=i686 -pipe -fomit-frame-pointer   -c -o recursor_cache.o recursor_cache.cc
recursor_cache.cc:14:28: error: bits/atomicity.h: No such file or directory
make: *** [recursor_cache.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-dns/pdns-recursor-3.1.4 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  pdns-recursor-3.1.4.ebuild, line 36:   Called die



The problem is recursor_cache.cc which has a hardcoded "#include <bits/atomicity.h>"

Reproducible: Always
Comment 1 steveb 2007-08-07 21:30:39 UTC
Created attachment 127210 [details, diff]
pdns-recursor-3.1.4-gcc4.patch

This patch fixes the problem with pdns-recursor-3.1.4 and GCC 4.
Comment 2 Sven Wegener gentoo-dev 2007-09-22 19:34:31 UTC
Thanks, commited to the tree.