bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/17030] New: elf-strtab.c assetion fail


From: zoltan at geogebra dot org
Subject: [Bug ld/17030] New: elf-strtab.c assetion fail
Date: Fri, 06 Jun 2014 08:04:19 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17030

            Bug ID: 17030
           Summary: elf-strtab.c assetion fail
           Product: binutils
           Version: 2.24
            Status: NEW
          Severity: critical
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: zoltan at geogebra dot org

I'm trying to compile Firefox-3.0-19 on Ubuntu Linux 14.04 running as guest in
host VirtualBox 4.1.12-dfsg-2ubuntu0.2. At the linking step of component
libxul.so I get this:

make[3]: Entering directory `/home/kovzol/mozilla/toolkit/library'
rm -f libxul.so
c++ -fpermissive -Wno-error=conversion  -fno-rtti -fno-exceptions -Wall
-Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long
-pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED
-Os -freorder-blocks -fno-reorder-functions  -fPIC -shared -Wl,-z,defs
-Wl,-h,libxul.so -o libxul.so  nsStaticXULComponents.o nsUnicharUtils.o
nsCompressedCharMap.o nsBidiUtils.o nsRDFResource.o     -lpthread  
-Wl,-rpath-link,../../dist/bin  -Wl,--whole-archive
../../embedding/browser/gtk/src/libgtkembedmoz.a
../../toolkit/xre/libxulapp_s.a  ../../staticlib/components/libxpconnect.a
../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a
../../staticlib/components/libi18n.a ../../staticlib/components/libchardet.a
../../staticlib/components/libjar50.a ../../staticlib/components/libpref.a
../../staticlib/components/libcaps.a ../../staticlib/components/libhtmlpars.a
../../staticlib/components/libimglib2.a
../../staticlib/components/libgklayout.a
../../staticlib/components/libdocshell.a
../../staticlib/components/libembedcomponents.a
../../staticlib/components/libwebbrwsr.a
../../staticlib/components/libnsappshell.a
../../staticlib/components/libtxmgr.a ../../staticlib/components/libchrome.a
../../staticlib/components/libcommandlines.a
../../staticlib/components/libtoolkitcomps.a
../../staticlib/components/libpipboot.a ../../staticlib/components/libpipnss.a
../../staticlib/components/libxmlextras.a
../../staticlib/components/libgkplugin.a
../../staticlib/components/libmozfind.a
../../staticlib/components/libappcomps.a
../../staticlib/components/libunixproxy.a
../../staticlib/components/libxpinstall.a ../../staticlib/components/libjsd.a
../../staticlib/components/libautoconfig.a ../../staticlib/components/libauth.a
../../staticlib/components/libcookie.a
../../staticlib/components/libpermissions.a
../../staticlib/components/libuniversalchardet.a
../../staticlib/components/libcomposer.a ../../staticlib/components/librdf.a
../../staticlib/components/libwindowds.a
../../staticlib/components/libintlapp.a
../../staticlib/components/libfileview.a
../../staticlib/components/libstoragecomps.a
../../staticlib/components/libplaces.a
../../staticlib/components/libtkautocomplete.a
../../staticlib/components/libsatchel.a ../../staticlib/components/libpippki.a
../../staticlib/components/libucvmath.a
../../staticlib/components/libwidget_gtk2.a
../../staticlib/components/libsystem-pref.a
../../staticlib/components/libgkgfxthebes.a ../../staticlib/components/liboji.a
../../staticlib/components/libaccessibility.a
../../staticlib/components/libremoteservice.a
../../staticlib/components/libspellchecker.a
../../staticlib/components/libzipwriter.a ../../staticlib/libxpcom_core.a
../../staticlib/libucvutil_s.a ../../staticlib/libgkgfx.a
../../staticlib/libgfxshared_s.a ../../staticlib/libmozreg_s.a
../../staticlib/libmorkreader_s.a ../../staticlib/libgtkxtbin.a
../../staticlib/libgfxpsshar.a ../../staticlib/libthebes.a
../../staticlib/libjsj.a  -Wl,--no-whole-archive -L../../dist/lib -lsqlite3
-L../../dist/bin -L../../dist/lib  -L../../dist/bin -L../../dist/lib
-L../../jpeg -lmozjpeg -L../../modules/libimg/png -lmozpng -L../../dist/bin
-lmozlcms -L../../dist/bin -lmozjs -L../../dist/bin -L../../dist/lib -lcrmf
-lsmime3 -lssl3 -lnss3 -lnssutil3 -lsoftokn3  -L../../modules/zlib/src -lmozz
-lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0
-lfontconfig -L/usr/lib/x86_64-linux-gnu -lfreetype  
../../gfx/cairo/cairo/src/libmozcairo.a
../../gfx/cairo/libpixman/src/libmozlibpixman.a   -lXrender -lfreetype
-lfontconfig -L../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl  -lX11 
-L/usr/lib/x86_64-linux-gnu -lXft   -lgtk-x11-2.0 -latk-1.0 -lgio-2.0
-lpangoft2-1.0 -lfontconfig -lfreetype -lgdk-x11-2.0 -lpangocairo-1.0
-lpango-1.0 -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -L/usr/lib/x86_64-linux-gnu
-lglib-2.0   -lXt -lgthread-2.0 -L/usr/lib/x86_64-linux-gnu -lfreetype -lz
-lpng12 -ldl -lm     
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:200
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:200
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:200
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:200
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:200
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:200
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:200
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:200
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:255
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:255
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:255
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:255
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:255
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:255
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:255
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:255
/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 assertion fail
../../bfd/elf-strtab.c:255
../../staticlib/libthebes.a(gfxPangoFonts.o): In function
`gfxPangoFont::GetMetrics()':
gfxPangoFonts.cpp:(.text+0x1474): undefined reference to `FT_Get_Sfnt_Table'
../../gfx/cairo/cairo/src/libmozcairo.a(cairo-ft-font.o): In function
`_cairo_ft_unscaled_font_map_lock':
cairo-ft-font.c:(.text+0x5c): undefined reference to `FT_Init_FreeType'
../../gfx/cairo/cairo/src/libmozcairo.a(cairo-ft-font.o): In function
`_cairo_ft_unscaled_font_destroy':
cairo-ft-font.c:(.text+0x16d): undefined reference to `FT_Done_Face'
../../gfx/cairo/cairo/src/libmozcairo.a(cairo-ft-font.o): In function
`_cairo_ft_unscaled_font_set_scale':
cairo-ft-font.c:(.text+0x3e8): undefined reference to `FT_Set_Transform'
cairo-ft-font.c:(.text+0x472): undefined reference to `FT_Set_Char_Size'
cairo-ft-font.c:(.text+0x53a): undefined reference to `FT_Set_Char_Size'
cairo-ft-font.c:(.text+0x599): undefined reference to `FT_Set_Pixel_Sizes'
../../gfx/cairo/cairo/src/libmozcairo.a(cairo-ft-font.o): In function
`_cairo_ft_scaled_glyph_vertical_layout_bearing_fix':
cairo-ft-font.c:(.text+0xbd2): undefined reference to `FT_Vector_Transform'
cairo-ft-font.c:(.text+0xbe7): undefined reference to `FT_Outline_Translate'
../../gfx/cairo/cairo/src/libmozcairo.a(cairo-ft-font.o): In function
`_cairo_ft_unscaled_font_lock_face':
cairo-ft-font.c:(.text+0x169e): undefined reference to `FT_New_Face'
cairo-ft-font.c:(.text+0x16c1): undefined reference to `FT_Done_Face'
../../gfx/cairo/cairo/src/libmozcairo.a(cairo-ft-font.o): In function
`_cairo_ft_map_glyphs_to_unicode':
cairo-ft-font.c:(.text+0x173a): undefined reference to `FT_Get_First_Char'
cairo-ft-font.c:(.text+0x179d): undefined reference to `FT_Get_Next_Char'
../../gfx/cairo/cairo/src/libmozcairo.a(cairo-ft-font.o): In function
`_cairo_ft_ucs4_to_index':
cairo-ft-font.c:(.text+0x1814): undefined reference to `FT_Get_Char_Index'
../../gfx/cairo/cairo/src/libmozcairo.a(cairo-ft-font.o): In function
`_cairo_ft_scaled_glyph_init':
cairo-ft-font.c:(.text+0x18e5): undefined reference to `FT_Load_Glyph'
cairo-ft-font.c:(.text+0x1a73): undefined reference to `FT_Outline_Get_CBox'
cairo-ft-font.c:(.text+0x1c4b): undefined reference to `FT_Render_Glyph'
cairo-ft-font.c:(.text+0x1cc4): undefined reference to `FT_GlyphSlot_Embolden'
cairo-ft-font.c:(.text+0x1e3c): undefined reference to `FT_Load_Glyph'
cairo-ft-font.c:(.text+0x1f66): undefined reference to `FT_Outline_Transform'
cairo-ft-font.c:(.text+0x1ffd): undefined reference to `FT_Outline_Translate'
cairo-ft-font.c:(.text+0x201f): undefined reference to `FT_Outline_Get_Bitmap'
cairo-ft-font.c:(.text+0x2610): undefined reference to `FT_Outline_Transform'
cairo-ft-font.c:(.text+0x2622): undefined reference to `FT_Outline_Decompose'
cairo-ft-font.c:(.text+0x267d): undefined reference to `FT_GlyphSlot_Embolden'
../../gfx/cairo/cairo/src/libmozcairo.a(cairo-ft-font.o): In function
`_cairo_ft_load_truetype_table':
cairo-ft-font.c:(.text+0x29bc): undefined reference to `FT_Load_Sfnt_Table'
../../gfx/cairo/cairo/src/libmozcairo.a(cairo-ft-font.o): In function
`_cairo_ft_font_reset_static_data':
cairo-ft-font.c:(.text+0x3376): undefined reference to `FT_Done_Face'
cairo-ft-font.c:(.text+0x33c3): undefined reference to `FT_Done_FreeType'
../../gfx/cairo/cairo/src/libmozcairo.a(cairo-type1-subset.o): In function
`cairo_type1_font_subset_get_glyph_names_and_widths':
cairo-type1-subset.c:(.text+0x309): undefined reference to `FT_Load_Glyph'
cairo-type1-subset.c:(.text+0x341): undefined reference to `FT_Get_Glyph_Name'
../../gfx/cairo/cairo/src/libmozcairo.a(cairo-type1-subset.o): In function
`_cairo_type1_subset_init':
cairo-type1-subset.c:(.text+0xa66): undefined reference to
`FT_Get_PS_Font_Info'
../../gfx/cairo/cairo/src/libmozcairo.a(cairo-type1-subset.o): In function
`_cairo_type1_scaled_font_is_type1':
cairo-type1-subset.c:(.text+0x16f5): undefined reference to
`FT_Get_PS_Font_Info'
/usr/bin/ld: libxul.so: hidden symbol `FT_GlyphSlot_Embolden' isn't defined
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[3]: *** [libxul.so] Error 1
make[3]: Leaving directory `/home/kovzol/mozilla/toolkit/library'
make[2]: *** [libs_tier_toolkit] Error 2
make[2]: Leaving directory `/home/kovzol/mozilla'
make[1]: *** [tier_toolkit] Error 2
make[1]: Leaving directory `/home/kovzol/mozilla'
make: *** [default] Error 2

It seems there is nothing wrong with `FT_Get_Sfnt_Table' since it is present in
libfreetype.so and by adding -Wl,-t I get notified about its presence:

attempt to open /usr/lib/x86_64-linux-gnu/libfreetype.so succeeded
-lfreetype (/usr/lib/x86_64-linux-gnu/libfreetype.so)

First I used 2 GB RAM for compilation and now I changed to have 4 GB. But the
problem still occurs.

Thank you in advance for any help, hint, or confirming that this is a bug in
ld.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]