[Bug c++/67067] "Trouble closing elf file" and "-static-libstdc++ not implemented"

2015-07-31 Thread zclai at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67067 --- Comment #4 from Alex Lai --- (In reply to Alex Lai from comment #1) > on Solaris x86, I downloaded MPC, GMP and MPFR and extracted them into GCC > source directory as mpc,gmp and mpfr directories and configure GCC source > with: > > $ ../gcc

[Bug lto/67069] ld: fatal: file .libs/lto-plugin.o: wrong ELF class: ELFCLASS32 during gcc compilation on Solaris 10 x86-64

2015-07-31 Thread zclai at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67069 --- Comment #2 from Alex Lai --- (In reply to Andrew Pinski from comment #1) > Don't use: > "CFLAGS=-m64" "CXXFLAGS=-m64" "LDFLAGS=-m64" > > Instead set CC/CXX to include -m64 instead. > Also you might need to default GCC to 64bit too. Setting

[Bug c++/67067] "Trouble closing elf file" and "-static-libstdc++ not implemented"

2015-07-30 Thread zclai at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67067 --- Comment #3 from Alex Lai --- (In reply to Jonathan Wakely from comment #2) > (In reply to Alex Lai from comment #1) > > the error apparently is due to the missing space between -static and > > -libstdc++. > > There is no missing space, that'

[Bug lto/67069] New: ld: fatal: file .libs/lto-plugin.o: wrong ELF class: ELFCLASS32 during gcc compilation on Solaris 10 x86-64

2015-07-30 Thread zclai at yahoo dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: zclai at yahoo dot com Target Milestone: --- During gcc 5.2.0 compilation, libtool attempted to make 32bit lto-plugin.o and failed: libtool

[Bug c++/67067] "Trouble closing elf file" and "-static-libstdc++ not implemented"

2015-07-30 Thread zclai at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67067 Alex Lai changed: What|Removed |Added Summary|#error -static-libstdc++|"Trouble closing elf file"

[Bug c++/67067] New: #error -static-libstdc++ not implemented

2015-07-30 Thread zclai at yahoo dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: zclai at yahoo dot com Target Milestone: ---