buildworld (3.4) aborts during compile of libstdc++.so.9

Ralf Folkerts ralf.folkerts at gmx.de
Wed May 1 04:25:50 PDT 2013


Am 01.05.2013 11:51, schrieb John Marino:
> On 5/1/2013 11:18, Ralf Folkerts wrote:
>> Hi,
>>
>> I wanted to update my DFly 3.2 System to 3.4. I first moved to the
>> DragonFly_RELEASE_3_4 Branch, cleaned /usr/obj and issued a make
>> buildworld. It aborted during compilation of libstdc++.so.9. Then I
>> cleaned /usr/src and /usr/obj and checked-out the DragonFly_RELEASE_3_4
>> Branch anew. However, same error (also tried using sh instead of tcsh,
>> but same error, too). Finally I removed /usr/src and started from
>> scratch - same error. As bw seems to work for others I must have a made
>> a big mistake - but didn't find that, yet :(
>>
>
> It didn't build libstdc++ because it couldn't find libm.so.  Assuming
> that it's linking the just-built libm and not the host version, it
> would imply that libm isn't getting built either.
>
> blowing away /usr/src and reinstalling is fine.  What you did to
> restore /usr/src looks fine to me.  It means you can be sure there
> aren't any object files there, a common explanation of problems.
>
> I would start by confirming host libm.so is at /usr/lib/libm.so and
> then I'd check the world build log (e.g. make buildworld |& tee
> /tmp/world.build.log) so see what is happening when libm is built. 

Hi John,

I already did pipe the build into tee, so I have a log. However, I
didn't find much libm in, unfortunately.

# grep libm.a buildworld.out
echo m4: /usr/obj/usr/src/btools_x86_64/usr/lib/libc.a
/usr/obj/usr/src/btools_x86_64/usr/lib/liby.a
/usr/obj/usr/src/btools_x86_64/usr/lib/libl.a
/usr/obj/usr/src/btools_x86_64/usr/lib/libm.a >> .depend
echo awk: /usr/obj/usr/src/btools_x86_64/usr/lib/libc.a
/usr/obj/usr/src/btools_x86_64/usr/lib/libm.a >> .depend
make: ignoring stale .depend for
/usr/obj/usr/src/btools_x86_64/usr/lib/libm.a
echo flex: /usr/obj/usr/src/btools_x86_64/usr/lib/libc.a
/usr/obj/usr/src/btools_x86_64/usr/lib/libm.a >> .depend
make: ignoring stale .depend for
/usr/obj/usr/src/btools_x86_64/usr/lib/libm.a
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 
/usr/src/lib/libm/arch/x86_64/fenv.h
/usr/obj/usr/src/world_x86_64/usr/include
echo libstdc++.so.9: /usr/obj/usr/src/world_x86_64/usr/lib/libm.a >> .depend
echo libstdc++.so.9:
/usr/obj/usr/src/world_x86_64/usr/src/gnu/lib/gcc47/libstdc++/../../../../lib/libpthread/libpthread.so
/usr/obj/usr/src/world_x86_64/usr/lib/libm.a >> .depend
make: ignoring stale .depend for
/usr/obj/usr/src/world_x86_64/usr/lib/libm.a


beastie# grep -E 'lib/libm([[:space:]]|$|/)' buildworld.out
===> lib/libm
/usr/obj/usr/src/world_x86_64/usr/src/lib/libm created for /usr/src/lib/libm
===> lib/libm
===> lib/libm
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444 
/usr/src/lib/libm/arch/x86_64/fenv.h
/usr/obj/usr/src/world_x86_64/usr/include


In /usr/local/lib, libm.a|so is present

beastie# ls -l /usr/lib/libm.*
-r--r--r--  1 root  wheel  492234 Jan  4 00:02 /usr/lib/libm.a
lrwxr-xr-x  1 root  wheel       9 Jan  5 09:56 /usr/lib/libm.so -> libm.so.3
-r--r--r--  1 root  wheel  126464 Jan  4 00:02 /usr/lib/libm.so.3

Cheers,
_ralf_


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3876 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20130501/938835d2/attachment-0018.bin>


More information about the Users mailing list