I am having the same issue described in error: invalid operands (*UND* and *UND* sections) for `*' using GCC on a Red Hat server. The problem went away for the author when his compiler was upgraded. I’m using GCC version 4.8.5 20150623 (Red Hat 4.8.5-36). Are there any known issues related to the issue with this compiler?
Can this type of assembler error show up when it’s a compile error in the C++ code? This error popped up when I started porting from AIX to Linux. I have isolated the error to a line of code which creates an instance of a class.
Bottom line: Should I request an upgrade on my compiler or should I keep trying to debug the code?
Source: Windows Questions C++