Opened 7 years ago

Closed 7 years ago

#3887 closed task (fixed)

g++ segfault on 32bits when using -static

Reported by: Thierry Nuttens Owned by: lfs-book@…
Priority: normal Milestone: 7.10
Component: Book Version: SVN
Severity: normal Keywords:


I did a new patch (including current binutils-2.26-upstream_fix-1.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

Change History (2)

comment:1 by bdubbs@…, 7 years ago

I have a patch from a separate source that I will commit in an hour or two. Let's see if that works.

comment:2 by bdubbs@…, 7 years ago

Resolution: fixed
Status: newclosed

Fixed at revision 11019.

Note: See TracTickets for help on using tickets.