[Bug c++/81237] Cannot link when class methods compiled with different levels of vectorization

2017-07-20 Thread ravi.kappiy...@cd-adapco.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81237

--- Comment #5 from Ravi  ---
Are there any known work-arounds to getting ABI version 11 to link against code
compiled with an older ABI version?

[Bug c++/81237] Cannot link when class methods compiled with different levels of vectorization

2017-06-28 Thread ravi.kappiy...@cd-adapco.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81237

--- Comment #4 from Ravi  ---
This does seem to be an issue with any ABI version older than the newest (11, I
think), which appears to have a different name mangling scheme than any of ABI
versions 6-10, all of which fail when attempting to link against an object file
compiled against the latest ABI. This was not the case with GNU 6.2 which used
ABI version 10, which appears to be compatible with ABI version 6.
Unfortunately, due to other constraints we are forced to use ABI version 6 for
certain aspects of the code - are there any known work-arounds to getting ABI
version 11 to link against code compiled with an older ABI version?

[Bug c++/81237] Cannot link when class methods compiled with different levels of vectorization

2017-06-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81237

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2017-06-28
 Ever confirmed|0   |1

[Bug c++/81237] Cannot link when class methods compiled with different levels of vectorization

2017-06-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81237

--- Comment #3 from Andrew Pinski  ---
Hmm, you are compiling the files with different levels of ABI.
-fabi-version=6 is specified in test.o but not test2.o .

Can you try with the same abi version and try again?

[Bug c++/81237] Cannot link when class methods compiled with different levels of vectorization

2017-06-27 Thread ravi.kappiy...@cd-adapco.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81237

--- Comment #2 from Ravi  ---
I noticed I neglected to mention the error message. Compiling the code with GNU
7.1 gives me the error:

test.o:(.data.rel.ro._ZTV1C[_ZTV1C]+0x38): undefined reference to `non-virtual
thunk to C::func() const'
collect2: error: ld returned 1 exit status

"ld -v" Returns "GNU ld (GNU Binutils) 2.24)" for both GNU 6.2 and GNU 7.1
builds.

[Bug c++/81237] Cannot link when class methods compiled with different levels of vectorization

2017-06-27 Thread ravi.kappiy...@cd-adapco.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81237

--- Comment #1 from Ravi  ---
The markdown didn't work quite the way I thought it would... Let me know if the
format is unclear and I'll rework the initial message to make it clearer