[SM-Grimoire-Bugs] [Bug 15365] New: gnome-utils2 2.26.0 fails to compile with -Wl, --as-needed in LDFLAGS

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Sun Aug 23 16:03:30 EDT 2009


http://bugs.sourcemage.org/show_bug.cgi?id=15365

           Summary: gnome-utils2 2.26.0 fails to compile with
                    -Wl,--as-needed in LDFLAGS
           Product: Codex
           Version: test grimoire
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: gnome2-libs
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: sandalle at sourcemage.org
            Blocks: 15215


$ gaze version gcc glibc binutils
Grimoire  Section  Spell     Grimoire Version  Installed Version
--------  -------  -----     ----------------  -----------------
test      gnu      gcc       4.3.3             4.3.3
test      libs     glibc     2.10.1            2.10.1
test      devel    binutils  2.19.1            2.19.1

$ sorcery -v
1.14.3

# cast gnome-utils2
...
/bin/sh ../../libtool --tag=CC   --mode=link gcc  -march=core2 -fPIC -DPIC
-pipe -DPIC -fPIC -O2  -z combreloc -s -Wl,-O1 -Wl,--hash-style=gnu
-Wl,--as-needed -o test-reader test-reader.o logview-log.o logview-utils.o
-lgconf-2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
-lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0
mkdir .libs
gcc -march=core2 -fPIC -DPIC -pipe -DPIC -fPIC -O2 -z combreloc -s -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed -o test-reader test-reader.o logview-log.o
logview-utils.o  -lgconf-2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0
-lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype
-lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
logview-log.o: In function `log_load':
logview-log.c:(.text+0x5c2): undefined reference to `inflateInit2_'
logview-log.c:(.text+0x772): undefined reference to `inflate'
logview-utils.o: In function `log_read_dates':
logview-utils.c:(.text+0x28e): undefined reference to `floor'
logview-utils.c:(.text+0x2bd): undefined reference to `floor'
collect2: ld returned 1 exit status
make[4]: *** [test-reader] Error 1
make[3]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/gnome-utils-2.26.0/logview/tests'
make[3]: Leaving directory `/usr/src/gnome-utils-2.26.0/logview'
make[2]: Leaving directory `/usr/src/gnome-utils-2.26.0/logview'
make[2]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/gnome-utils-2.26.0'
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list