This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/398] New: elf/dl-runtime.c not resolving CFI_STARTPROC


Configure command:
# CFLAGS="-g -O3" ../configure --prefix=/usr
--enable-add-ons=libidn,linuxthreads   --without-cvs s390-slackware-linux

# gcc -v
Reading specs from /usr/lib/gcc-lib/s390-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld
--verbose --target=s390-slackware-linux --host=s390-slackware-linux
Thread model: posix
gcc version 3.3.4

# ld -v
GNU ld version 2.15.90.0.3 20040415

# /lib/libc.so.6
GNU C Library stable release version 2.3.2, by Roland McGrath et al.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.3.4.
Compiled on a Linux 2.4.26 system on 2004-09-09.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        linuxthreads-0.10 by Xavier Leroy
        BIND-8.2.3-T5B
        libthread_db work sponsored by Alpha Processor Inc
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Report bugs using the `glibcbug' script to <bugs@gnu.org>.



I am trying to compile glibc-2.3.3-200408040157 on Linux/390.  When I do, I get
a compilation error in elf/dl-runtime.c, as follows:
dl-runtime.c:222: error: parse error before "CFI_STARTPROC"

I was able to get it to compile by adding
#include <sysdeps.h>

to the source, but I would have thought that was already being included
somewhere by something or other.  Examining the output from --save-temps shows
that it is not.  When I add in the include, I can then see all these other
includes happening:
# 27 "dl-runtime.c" 2
# 1 "../sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h" 1
# 23 "../sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h"
# 1 "../sysdeps/s390/s390-32/sysdep.h" 1
# 21 "../sysdeps/s390/s390-32/sysdep.h"
# 1 "../sysdeps/generic/sysdep.h" 1
# 22 "../sysdeps/s390/s390-32/sysdep.h" 2
# 24 "../sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h" 2
and the compile completes fine.

I have no idea why I would be the first one to encounter this, since the code is
over 6 months old, but apparently the problem doesn't show up on Intel.

-- 
           Summary: elf/dl-runtime.c not resolving CFI_STARTPROC
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: markkp at slackware dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: s390-slackware-linux
  GCC host triplet: s390-slackware-linux
GCC target triplet: s390-slackware-linux


http://sources.redhat.com/bugzilla/show_bug.cgi?id=398

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]