[DragonFlyBSD - Bug #2511] /usr/libexec/binutils222/elf/ld.bfd: error in /usr/lib/crt1.o(.eh_frame); no .eh_frame_hdr table will be created.

David Shao via Redmine bugtracker-admin at leaf.dragonflybsd.org
Mon Feb 18 22:47:20 PST 2013


Issue #2511 has been updated by davshao.


With the present patches, modular-xorg and xfce4 from pkgsrc current master compile fine on i386, including cairo, using the now default gcc47.  The problem is when one goes to start pkgsrc modular x.org, it hangs after showing the display resolution detected.  Rebuilding libdrm and modular-xorg-server with
# env CCVER=gcc44 bmake replace clean
allows startx with .xinitrc of
exec /usr/pkg/bin/startxfce4
to start up xfce4 as expected.

The current patches now allow programs such as cairo to compile, but it is not clear to me the functionality is as required.

On the other hand, apparently current pkgsrc xulrunner and firefox 18.0.2 only compile with CCVER=gcc47 due to the additional requirement of gcc 4.5 or higher.
----------------------------------------
Bug #2511: /usr/libexec/binutils222/elf/ld.bfd: error in /usr/lib/crt1.o(.eh_frame); no .eh_frame_hdr table will be created.
http://bugs.dragonflybsd.org/issues/2511

Author: davshao
Status: New
Priority: Normal
Assignee: dragonflybsd1
Category: 
Target version: 


Using current master src through:

commit e1dad499f942b88618bab2f62bdd2f7ae9f58209
Date:   Thu Feb 7 20:05:52 2013 +0100

    games/atc: Fix a logic bug.

# make buildworld && make CCVER=gcc44 buildkernel

and using current pkgsrc, updating graphics/cairo on i386 has in config.log messages such as:

configure:32959: checking for cairo's pthread feature
configure:33070: cc -o conftest -O2 -g -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2  -pthread  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c -lrt  -lm -lpthread -lrt >&5
/usr/libexec/binutils222/elf/ld.bfd: error in /usr/lib/crt1.o(.eh_frame); no .eh_frame_hdr table will be created.
configure:33070: $? = 0
configure:33189: cc -o conftest -O2 -g -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c -lrt  -lm  >&5
/usr/libexec/binutils222/elf/ld.bfd: error in /usr/lib/crt1.o(.eh_frame); no .eh_frame_hdr table will be created.
configure:33189: $? = 0

cairo build on i386 seems to not detect pthread and to build one has to set -DCAIRO_NO_MUTEX=1 in CFLAGS.

Attached is the full config.log

Perhaps related, pkgsrc x.org does not appear to function on x86_64 or i386 even using a simple window manager such as openbox, but I have not had time to complete a full rebuild due to massive changes in pkgsrc versions the past week.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list