Bug 144067 - devel/valgrind: mpicc -o libmpiwrap-amd64-freebsd.so libmpiwrap_amd64_freebsd_so-libmpiwrap.o /usr/lib/crt1.o(.text+0x8a): In function `_start': : undefined reference to `main'
Summary: devel/valgrind: mpicc -o libmpiwrap-amd64-freebsd.so libmpiwrap_amd64_fr...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Stanislav Sedov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-18 17:00 UTC by O. Hartmann
Modified: 2010-07-13 03:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2010-02-18 17:00:08 UTC
Compiling port devel/valgrind ends up in this error:

Making all in mpi
gmake[2]: Entering directory `/usr/ports/devel/valgrind/work/valgrind-3.5.0-1/mpi'
mpicc    -I../include     -MT libmpiwrap_amd64_freebsd_so-libmpiwrap.o -MD -MP -MF .deps/libmpiwrap_amd64_freebsd_so-libmpiwrap.Tpo -c -o libmpiwrap_amd64_freebsd_so-libmpiwrap.o `test -f 'libmpiwrap.c' || echo './'`libmpiwrap.c
libmpiwrap.c: In function 'walk_type':
libmpiwrap.c:651: warning: cast from pointer to integer of different size
libmpiwrap.c:652: warning: cast from pointer to integer of different size
libmpiwrap.c:657: warning: cast from pointer to integer of different size
libmpiwrap.c:658: warning: cast from pointer to integer of different size
libmpiwrap.c:663: warning: cast from pointer to integer of different size
libmpiwrap.c:664: warning: cast from pointer to integer of different size
libmpiwrap.c:669: warning: cast from pointer to integer of different size
libmpiwrap.c:670: warning: cast from pointer to integer of different size
libmpiwrap.c:675: warning: cast from pointer to integer of different size
libmpiwrap.c:676: warning: cast from pointer to integer of different size
libmpiwrap.c:681: warning: cast from pointer to integer of different size
libmpiwrap.c:682: warning: cast from pointer to integer of different size
mv -f .deps/libmpiwrap_amd64_freebsd_so-libmpiwrap.Tpo .deps/libmpiwrap_amd64_freebsd_so-libmpiwrap.Po
mpicc      -o libmpiwrap-amd64-freebsd.so libmpiwrap_amd64_freebsd_so-libmpiwrap.o  
/usr/lib/crt1.o(.text+0x8a): In function `_start':
: undefined reference to `main'
collect2: ld returned 1 exit status
gmake[2]: *** [libmpiwrap-amd64-freebsd.so] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/valgrind/work/valgrind-3.5.0-1/mpi'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/valgrind/work/valgrind-3.5.0-1'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/devel/valgrind.

How-To-Repeat: Try installing devel/valgrind when also MPICH2 is installed.
Comment 1 Edwin Groothuis freebsd_committer 2010-02-18 17:00:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stas

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2010-07-13 02:54:39 UTC
stas        2010-07-13 01:54:18 UTC

  FreeBSD ports repository

  Modified files:
    devel/valgrind       Makefile distinfo pkg-plist 
  Log:
  - Update to 3.5.0-2:
    - Fix build of MPI wrappers [1]
    - Fix LDT handling in i386 case.
    - Fix socketpair(2) syscall wrapper.
  
  PR:             ports/144067 [1]
  Reported by:    "O. Hartmann" <ohartman@zedat.fu-berlin.de> [1]
  
  Revision  Changes    Path
  1.41      +13 -4     ports/devel/valgrind/Makefile
  1.6       +3 -3      ports/devel/valgrind/distinfo
  1.10      +1 -0      ports/devel/valgrind/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Stanislav Sedov freebsd_committer 2010-07-13 02:54:41 UTC
State Changed
From-To: open->closed

Fixed.