Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16692 closed defect (fixed)

llvm-g++-4.2 can't build simple STL program

Reported by: andrea.bedini@… Owned by: erickt@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: llvm-gcc42

Description

On my Tiger 10.4.11, it seems something messy is happening between system C++ STL library and llvm-g++-4.2. This simple STL doesn't compile while it compiles without a glitch with both system g++ 4.0 and macports g++ 4.2.

Attachments (2)

prova.cc (218 bytes) - added by andrea.bedini@… 16 years ago.
simple program using stl
prova.out (60.5 KB) - added by andrea.bedini@… 16 years ago.
output of: llvm-g++-4.2 prova.cc

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by andrea.bedini@…

Attachment: prova.cc added

simple program using stl

Changed 16 years ago by andrea.bedini@…

Attachment: prova.out added

output of: llvm-g++-4.2 prova.cc

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Cc: erickt@… removed
Owner: changed from macports-tickets@… to erickt@…

comment:2 Changed 16 years ago by andrea.bedini@…

compiling llvm-gcc42 without --with-gxx-include-dir=/usr/include/c++/4.0.0 seems to partially fix the problem. I still have to specify a bunch on directories (-I /opt/local/include/gcc42/c++/ -I /opt/local/include/gcc42/c++/i386-apple-darwin8.11.1/ -L/opt/local/lib/gcc42/) but it's now able to compile any C++ source I tried.

comment:3 Changed 16 years ago by erickt@…

Resolution: fixed
Status: newclosed

Should be fixed now.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.