Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228951 - sys-fs/encfs-1.4.2 build error (caused by dev-libs/rlog / gcc)
Summary: sys-fs/encfs-1.4.2 build error (caused by dev-libs/rlog / gcc)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Marcelo Goes (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-22 19:12 UTC by Pinky
Modified: 2008-11-03 02:08 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge-info.txt,6.92 KB, text/plain)
2008-07-06 15:13 UTC, Pinky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pinky 2008-06-22 19:12:33 UTC
sys-fs/encfs-1.4.2 does not build with dev-libs/rlog-1.4

--------------
DirNode.cpp:229: error: _rL_230 causes a section type conflict
DirNode.cpp:218: error: _rL_219 causes a section type conflict
DirNode.cpp:282: error: _rL_282 causes a section type conflict
DirNode.cpp:266: error: _rL_267 causes a section type conflict
DirNode.cpp:253: error: _rL_253 causes a section type conflict
DirNode.cpp:249: error: _rL_249 causes a section type conflict
-----------



Reproducible: Always




this is caused probably by gcc 
(see http://gcc.gnu.org/ml/gcc/2001-10/msg00718.html)

code wich cause this is ( after gcc -E == preprocessed)

static rlog::PublishLoc _rL_230 __attribute__ (( section("RLOG_DATA") )) = {& _rL_230_enabled, &rlog::RLog_Register, 0, "encfs", "DirNode.cpp", __FUNCTION__, 230, 0};
Comment 1 Pinky 2008-06-22 19:14:40 UTC
The same result is obtained by both gcc-4.2.4 and gcc-4.3.1
Comment 2 Devin Heckman 2008-07-06 08:30:37 UTC
I've also experienced this, gcc-4.3.1. Can provide an emerge --info.
Comment 3 Pinky 2008-07-06 15:13:40 UTC
Created attachment 159706 [details]
emerge --info

emerge --info dump
Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2008-07-12 19:33:42 UTC
Hi guys,

This is apparently caused by dev-libs/rlog-1.4. It worked fine for me when I downgraded to dev-libs/rlog-1.3.7. I package.masked rlog-1.4 for now. Other than that, it compiles OK for me with gcc-4.3.1.
Comment 5 Paul Tobias 2008-10-03 08:39:19 UTC
Encfs version 1.5.0 fixes this issue:
"fix build error with RLog 1.4" [1]

Bug #225969 has an ebuild attached for the 1.5.0 version.

[1] http://www.arg0.net/encfs
Comment 6 Marcelo Goes (RETIRED) gentoo-dev 2008-11-03 02:08:06 UTC
Bumped encfs to 1.5 in cvs, removed rlog-1.4 from package.mask. Cheers!