++
Assignee: unassigned at gcc dot gnu.org
Reporter: zclai at yahoo dot com
Target Milestone: ---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67067
Alex Lai changed:
What|Removed |Added
Summary|#error -static-libstdc++|"Trouble closing elf file"
: 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
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'
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
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