[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.

John Marino via Redmine bugtracker-admin at leaf.dragonflybsd.org
Sat Feb 9 09:16:30 PST 2013


Issue #2511 has been updated by marino.


It seems this crt1.o error happens on i386 only.  The x86_64 version is built differently and doesn't produce the error during world build.
----------------------------------------
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: 
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