We did not build gcc 4.7.1 correctly. When we built gcc 4.7.1, we used the default assembler that ships in centos 5. We needed to build gcc 4.7.1 with a newer binutils, so we built binutils 2.22 and then built gcc 4.7.1 with the binutils 2.22 assembler and linker. This compiler now generates the CFI directives that are needed to compile mariadb. On Mon, Aug 6, 2012 at 3:44 PM, Kristian Nielsen <knielsen@knielsen-hq.org> wrote:
Rich Prohaska <prohaska@tokutek.com> writes:
I suspect that we have a tool chain problem here at tokutek. We can build maria 5.5 with gcc 4.7.1 and binutils 2.22 on a centos 6.2 machine (we built gcc and binutils ourselves). We can not build it on a centos 5.8 machine with the same gcc 4.7.1 and binutils 2.22 (we also built gcc and binutils ourselves). So, we are doing additional experiments to find the root cause of this problem.
Aha, I see.
One possible explanation is that some missing dependency caused your gcc/binutils build on the centos 5.8 to be configured without support for DWARF debug information. This could result in an error such as you saw. (But it is just a guess, and I may be completely wrong).
- Kristian.