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/366] New: Compiling on 64-bit yields segmentation fault when run, on 32-bit runs fine.


Compiling a small C program in 64-bit mode with gcc, compiling is fine, but when
run the program seg faults. Same program, compiled in 32-bit mode with gcc runs
fine. Bug report posted in gcc Bugzilla, told to repost here. (link to gcc bug
report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17302)

Building on an Athlon64, gcc version 3.4.1-9, glibc version 2.3.3-27, kernel
version 2.6.5-1.358.

To reproduce:
1. gcc -g test_var5.c
2. gcc -o test5.exe test_var5.o
3. test5.exe

The program is attached.

-- 
           Summary: Compiling on 64-bit yields segmentation fault when run,
                    on 32-bit runs fine.
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: normal
          Priority: P1
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: dafrabbit at yahoo dot com
                CC: glibc-bugs at sources dot redhat dot com


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

------- 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]