https://sourceware.org/bugzilla/show_bug.cgi?id=17005

            Bug ID: 17005
           Summary: [Gold] .ehframe problem with --sort-section=name
           Product: binutils
           Version: 2.25 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ian at airs dot com
          Reporter: aivchenk at gmail dot com
                CC: ccoutant at google dot com

> cat a.cc
void foo(void) {
  throw 1;
}

> cat b.cc

void foo(void);
int main()
{
  try {
    foo();
  }
  catch (int i) {
    return 0;
  }
  return -1;
}

>g++ -B/users/aivchenk/src/binutils_obj/gold/testsuite/gcctestdir/ a.cc b.cc 
>-fPIE -pie -Wl,-sort-section,name -fexceptions -frtti -g3 -o a32.out -m32
> ./a32.out
terminate called after throwing an instance of 'int'
Aborted

> g++ -B/users/aivchenk/src/binutils_obj/gold/testsuite/gcctestdir/ a.cc b.cc 
> -fPIE -pie -fexceptions -frtti -g3 -o b32.out -m32
> ./b32.out

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to