Ruben Gonzalez Arnau: > This is a self reply, since I get an email from other LFS user with > exactly same problem as me, and if someone is searching about it, it's > good to explain it. > > 1) Compile errors 'proc_mnt.o' are fixed in the latest aufs version, > also > it's not a bug in aufs, it's a make bug if you are using version 3.82 > (lfs), aslo it's fixed in the latest make cvs too.
Exactly. It is a known problem of make-3.82. I rewrote (and already released) the dependency in aufs2-util/Makefile to support make-3.82 with keeping compatibility. > 2) After that, it compiles but aufs-utils does not work since it get > segfaults with errors like this: > > # /sbin/mount.aufs > unexpected reloc type in static binarySegmentation fault Currently I am guessing this problem is related to the build environment. To convert the link type from static to dynamic is one solution, I agree. But it may be inefficient for other cases as Ruben wrote. I have googled "unexpected reloc type static" and found such problem is already reported several times in gentoo. Bug#: 333053 Bug#: 333137 They seem to solve the problem by changing their compile flags. Also there are a bug report about binutils package, and it says strip(1) breaks the binary. Bug binutils/10337 (also Bug ld/10911 (fixed? in Nov 2009)) It was fixed in Jun 2009. Is binutils in your gentoo system the unfixed version? J. R. Okajima ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl