Opened 8 years ago

Closed 8 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:
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

Change History (2)

comment:1 by bdubbs@…, 8 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@…, 8 years ago

Resolution: fixed
Status: newclosed

Fixed at revision 11019.

Note: See TracTickets for help on using tickets.