Opened 9 years ago
Closed 9 years ago
#3887 closed task (fixed)
g++ segfault on 32bits when using -static
Reported by: | Thierry Nuttens | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.10 |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
I did a new patch (including current binutils-2.26-upstream_fix-1.patch
97710164d06c325bac6f278f5661605e http://downloads.nutyx.org/current/sources/binutils-2.26-upstream_fix-2.patch
It fix this issue:
#include <iostream> int main(){
std::cout << "Hello test" << std::endl; return 0;
}
Compilation: g++ -m32 -static test.cpp
Run it: $ ./a.out Segmentation fault
Note:
See TracTickets
for help on using tickets.
I have a patch from a separate source that I will commit in an hour or two. Let's see if that works.