| Summary: | Error building gcc 3.4 from ports collection | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Charlie & <root> |
| Component: | Individual Port(s) | Assignee: | Gerald Pfeifer <gerald> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Charlie &
2004-03-23 14:10:11 UTC
Responsible Changed From-To: freebsd-i386->gerald Over to maintainer State Changed From-To: open->closed This report is not against the current version of this port, which seems to build fine. Plus, are you sure this is not caused by global setting of yours where you set these GCC flags? I think the problem does not show when building under -CURRENT (as gerald noted), but on the other hand I observed it with 5.2.1-REL. A work-around might be to build the port with -DNO_CPU_CFLAGS. This prevents bsd.cpu.mk from adding -mcpu=pentiumpro to the CFLAGS, which would otherwise confuse the stage1 cpp and make it believe that none of the standard system headers exist when configuring libiberty. I am testing this workaround right now, and will send a followup. Thomas. I confirm that using -DNO_CPU_CFLAGS allowed a clean build of gcc34. |