DragonFly BSD
DragonFly bugs List (threaded) for 2013-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: David Shao via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Feb 2013 00:00:40 -0800

Issue #2511 has been updated by davshao.


This is what I am having to do to keep the i386 port working with current master pkgsrc:

1) As reported in
http://bugs.dragonflybsd.org/issues/2505

i386 master current as of

commit c090922fe69732915227914768a9c4f9190fdece
Date:   Mon Feb 11 18:02:07 2013 +0100

    libdialog: Increase MAX_LEN to 4096 (bug 2480)

fails
# make buildkernel

2) I have reverted for my local branches most of

commit 6100d1de78f204e56aabe46c57a31d6a686e8f55
Date:   Sun Feb 3 10:12:27 2013 +0100

    Promote GCC 4.7 to be the default compiler

and

commit c06d54ec4d64cac02631af7af5668d43d2f6abd1
Date:   Tue Feb 5 20:54:06 2013 +0100

    Fix some more things related to the switch to gcc47.

3) I am currently testing reverting

commit 54b03ea7a27868387d5f124816d13c48e32ff735
Date:   Mon Feb 11 09:00:13 2013 +0100

    bsd.cpu.mk: Set gcc47 as default

4) It is possible to build only the kernel with gcc44, something like

# make CCVER=gcc44 buildkernel

However this configuration when combined with following the latest pkgsrc master makes running modular-xorg with wm's such as openbox, xfce4, or kde4 impossible.

5) After reverting the commits listed above, I had to go back and make replace some combination including

python27
libdrm
MesaLib
modular-xorg-server

After replacing using a default gcc44 system, startx works again for any of openbox, xfce4, or kde4.
----------------------------------------
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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]