Skip to content

undefined reference to `__gxx_personality_v0' on Windows Vista 32bit with GCC 4.8.1 #7953

Closed
@thadguidry

Description

@thadguidry

When trying to compile Rust on Windows Vista 32bit with toolchain set to:

export PATH="/c/mingw-builds/x32-4.8.1-release-win32-sjlj-rev2/mingw32/bin:/usr/local:$PATH"

I get the following error output:

$ make
cfg: build triple i686-pc-mingw32
cfg: host triples i686-pc-mingw32
cfg: target triples i686-pc-mingw32
cfg: host for i686-pc-mingw32 is i386
cfg: os for i686-pc-mingw32 is pc-mingw32
cfg: using gcc
cfg: disabling valgrind due to its unreliability on this platform
/home/Thad/rust/mk/stage0.mk:7: warning: overriding commands for target `i686-pc
-mingw32/stage0/bin/'
/home/Thad/rust/mk/stage0.mk:4: warning: ignoring old commands for target `i686-
pc-mingw32/stage0/bin/'
cfg: no pandoc found, omitting docs
cfg: no node found, omitting docs
cfg: no llnextgen found, omitting grammar-verification
cfg: no pandoc found, omitting library doc build
link: rt/i686-pc-mingw32/stage0/rustrt.dll
rt/rustrt.mingw32.def:2: Warning: path components stripped from LIBRARY, 'rt/rus
trt'
rt/i686-pc-mingw32/stage0/rust_upcall.o: In function `upcall_s_rust_personality'
:
C:/MinGW/msys/1.0/home/Thad/rust/src/rt/rust_upcall.cpp:279: undefined reference
 to `__gxx_personality_v0'
collect2.exe: error: ld returned 1 exit status
make: *** [rt/i686-pc-mingw32/stage0/rustrt.dll] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions