Opened 11 years ago

Closed 9 years ago

#42910 closed defect (fixed)

valgrind{,-devel} +gcc48 +openmpi not building on mountain lion

Reported by: Russell-Jones-OxPhys (Russell Jones) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: valgrind

Description

The ports

openmpi-default @1.7.4_0+gcc48+threads (active)
openmpi-gcc48 @1.7.4_0+fortran+threads (active)
dragonegg-3.3-gcc-4.8 @3.3_5 (active)
gcc48 @4.8.2_0 (active)

are installed. I've followed the license step at #39762. Logs for valgrind and valgrind-devel installed.

The error seems to be

/opt/local/bin/gcc-mp-4.8 -DHAVE_CONFIG_H -I. -I..  -I.. -I../include -I../VEX
/pub -DVGA_amd64=1 -DVGO_darwin=1 -DVGP_amd64_darwin=1 -DVGPV_amd64_darwin_van
illa=1 -I../coregrind -DVG_LIBDIR="\"/opt/local/lib/valgrind"\" -DVG_PLATFORM=
"\"amd64-darwin\"" -I/opt/local/include  -arch x86_64 -O2 -g -Wall -Wmissing-p
rototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations 
-Wno-format-zero-length -fno-strict-aliasing -fno-builtin -mmacosx-version-min
=10.5 -fno-stack-protector  -Wno-long-long -pipe -Os -Wwrite-strings -fno-stac
k-protector -MT libcoregrind_amd64_darwin_a-m_tooliface.o -MD -MP -MF .deps/li
bcoregrind_amd64_darwin_a-m_tooliface.Tpo -c -o libcoregrind_amd64_darwin_a-m_
tooliface.o `test -f 'm_tooliface.c' || echo './'`m_tooliface.c
m_syscall.c:534:1: error: unknown type name '__private_extern__'
 __private_extern__ UWord 
 ^
m_syscall.c:535:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'do_syscall_unix_WRK'
 do_syscall_unix_WRK ( UWord a1, UWord a2, UWord a3, /* rdi, rsi, rdx */
 ^
m_syscall.c:558:1: error: unknown type name '__private_extern__'
 __private_extern__ UWord 
 ^
m_syscall.c:559:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'do_syscall_mach_WRK'
 do_syscall_mach_WRK ( UWord a1, UWord a2, UWord a3, /* rdi, rsi, rdx */
 ^

Attachments (2)

valgrind-devel+gcc48+openmpi-main.log (333.4 KB) - added by Russell-Jones-OxPhys (Russell Jones) 11 years ago.
valgrind+gcc48+openmpi-main.log (115.9 KB) - added by Russell-Jones-OxPhys (Russell Jones) 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by Russell-Jones-OxPhys (Russell Jones)

Changed 11 years ago by Russell-Jones-OxPhys (Russell Jones)

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

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

comment:2 Changed 10 years ago by seanfarley (Sean Farley)

@raimue, I have the fix for this and other things about the valgrind{,-devel} ports. Would you mind if I add 'openmaintainer' to these ports and combine them into one portfile using subport for valgrind-devel?

comment:3 in reply to:  2 Changed 10 years ago by raimue (Rainer Müller)

Replying to sean@…:

@raimue, I have the fix for this and other things about the valgrind{,-devel} ports. Would you mind if I add 'openmaintainer' to these ports and combine them into one portfile using subport for valgrind-devel?

No objections at all! I added openmaintainer in r118752. As I am on Mavericks, valgrind isn't that useful to me at the moment anyway...

comment:4 Changed 10 years ago by dstrubbe (David Strubbe)

This appears to have been fixed in r118773.

comment:5 Changed 9 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Indeed, marking as fixed.

Note: See TracTickets for help on using tickets.