Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21190 - emerging of fenris breaks during compilation
Summary: emerging of fenris breaks during compilation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
: 29107 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-18 11:04 UTC by gentoo
Modified: 2004-01-08 17:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2003-05-18 11:04:24 UTC
fenris says that glibc 2.3.x isn't supported and gcc 3.2.x not tested, which may
be the problem.

Reproducible: Always
Steps to Reproduce:
1. emerge fenris


Actual Results:  
fenris - program execution path analysis tool
---------------------------------------------
<snip>
[+] Version (build): 0.07-m (3186)
[+] Operating system check: Linux (supported)
[+] Processor check: i686 (supported)
[+] GNU C library version: 2.3.2 (untested!)
[!] This voids your warranty ;) Please consult documentation.
    And, if this is not a big deal, contact author :)

[+] GNU C compiler version: 3.2.2 (untested!)
[!] This voids your warranty ;) Please consult documentation.
    And, if this is not a big deal, contact author :)

[+] GNU libc binary test: passed
[+] GCC crt code binary test: passed
[+] GNU libc linker test: passed
[+] Endian and sizeof() checks: passed
[+] Library mapping address: 0x40nnnnnn
[+] C library _init code: no known _init pattern!

[!] **WARNING** Your GNU C library does not seem to use known
    __do_global_ctors_aux(...) function code. This means you
    will be able to trace programs in -s (no prolog detection)
    only and that you can't benefit from auto libc init skipping
    feature. Please contact the author (lcamtuf@coredump.cx)
    providing him with CTORS.txt file I've created for you.
    Try not to use generated code if you do not have to.

    Supported libc versions: 2.0.7 2.1.92 2.2.2 2.2 2.1.3 2.2.4
    Your libc version is:    2.3.2                                             
[+] Creating CTORS.txt file...
-rw-r--r--    1 root     root         3355 2003-05-18 16:42 CTORS.txt
[+] GNU linker/resolver outro: valid
[+] PLT structure: valid
[+] Kernel includes available: yes
[+] OpenSSL installed: yes
[+] binutils installed: (libbfd) (libiberty)
[+] libreadline installed: yes, with libtermcap
[+] libncurses installed: yes, nc-aegir will be built.
[+] 'screen' installed: yes
[*] Generating syscall names table: 253 entries
[*] Generating decl list for fenris.c: 91 entries
[*] Generating decl list for aegir.c: 50 entries
[*] Compiling libi386: done
[*] Compiling libdis: done
[*] Compiling i386-dis: done
[*] Compiling hooks: done
[!] Warning messages: 
In file included from fenris.h:28,
                 from hooks.c:49:
config.h:83:1: warning: multi-line string literals are deprecated
[*] Compiling opdis: done
[*] Compiling nc-opdis: done
[*] Compiling allocs: done
[*] Compiling libfnprints: done
[!] Warning messages: 
In file included from libfnprints.h:40,
                 from libfnprints.c:30:
config.h:83:1: warning: multi-line string literals are deprecated
[*] Compiling fenris (this might take few minutes): failed!
[-] Sorry it didn't work out. Please consult the documentation.
[-] Note: if this is because of no memory left, try './build minimal',
[-] or, better, temporarily enable some swap memory.

[-] Error messages:
In file included from fenris.c:61:
asmstring.h:502:17: warning: multi-line string literals are deprecated
In file included from fenris.c:92:
/usr/include/asm/stat.h:13: parse error before '.' token
/usr/include/asm/stat.h:14: parse error before '.' token
/usr/include/asm/stat.h:15: parse error before '.' token
/usr/include/asm/stat.h:31: parse error before '.' token
/usr/include/asm/stat.h:33: parse error before '.' token
/usr/include/asm/stat.h:35: parse error before '.' token
/usr/include/asm/stat.h:39: parse error before '}' token
/usr/include/asm/stat.h:66: parse error before '.' token
/usr/include/asm/stat.h:69: parse error before '.' token
/usr/include/asm/stat.h:72: parse error before '.' token
/usr/include/asm/stat.h:76: parse error before '}' token
In file included from fenris.c:99:
config.h:83:1: warning: multi-line string literals are deprecated
fenris.c: In function `ret_syscall':
fenris.c:2744: storage size of `os' isn't known
fenris.c:2745: storage size of `st' isn't known

make: *** [fenris] Fehler 1

!!! ERROR: dev-util/fenris-0.07m failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! (no error message)


Expected Results:  
If it's a dependancy problem, emerge should complain about my glibc/gcc version
instead.

  Portage 2.0.48_pre6 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) XP 2400+
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/home/httpd/htdocs/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow avi crypt encode gif jpeg gnome libg++ mikmod mmx mpeg
ncurses nls pdflib png quicktime truetype xml2 xmms xv zlib gtkhtml gdbm berkdb
slang readline tetex aalib bonobo svga tcltk java X sdl gpm pam libwww ssl perl
python esd imlib oggvorbis gtk qt opengl mozilla cdr dvd gd gtk2 moznocompose
moznoirc moznomail mozsvg nocardbus pic sse tiff vim-with-x wmf xface xosd -apm
-cups -motif -spell -arts -guile -tcpd -kde"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo"
FEATURES="sandbox ccache"
Comment 1 Quequero 2003-06-12 08:22:27 UTC
It's a problem with gcc, I've just checked it and I contacted lcamtuf, the problem 
is that there is a dirty trick on some structures, so I hope that lcamtuf will fix it, 
otherwise we'll try to do a patch :) 
 
Que 
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-06-12 13:40:19 UTC
thanks for following up the issue.

i've made it block if gcc-3.2.x is detected, which means basically everyone on the stable 1.4 profile.

please let us know when they release a new version of have some sort of patch available.
Comment 3 SpanKY gentoo-dev 2003-09-19 08:25:12 UTC
*** Bug 29107 has been marked as a duplicate of this bug. ***
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-01-08 17:07:05 UTC
this is finally fixed .. a combination of both my patches and debian's patches now makes it compile against the latest binutils and gcc