pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/36974: xorp doesn't compile targeted at arm



>Number:         36974
>Category:       pkg
>Synopsis:       xorp doesn't compile targeted at arm
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 12 16:10:00 +0000 2007
>Originator:     Ignatios Souvatzis
>Release:        NetBSD 3.0
>Organization:
seal your e-mail: http://www.gnupg.org/
>Environment:
        
        
System: NetBSD marie 3.0 NetBSD 3.0 (MARIE) #0: Mon Jan 9 23:07:11 CET 2006 
ignatios@tangens:/usr/local/sources/3.0/oa/sys/arch/shark/compile/MARIE shark
Architecture: arm
Machine: shark
>Description:
        When compiling net/xorp on a Shark (see above), I get this:

        [...]
ea_proto_comm.lo -MD -MP -MF .deps/mfea_proto_comm.TPlo -o mfea_proto_comm.o
mfea_proto_comm.cc: In member function `void
   ProtoComm::proto_socket_read(XorpFd, IoEventType)':
mfea_proto_comm.cc:1252: warning: cast from `char*' to `cmsghdr*' increases
   required alignment of target type
mfea_proto_comm.cc:1342: warning: cast from `char*' to `cmsghdr*' increases
   required alignment of target type
mfea_proto_comm.cc:1356: warning: cast from `u_char*' to `int*' increases
   required alignment of target type
mfea_proto_comm.cc: In member function `int
   ProtoComm::proto_socket_write(unsigned int, const IPvX&, const IPvX&, int,
   int, bool, const __uint8_t*, long unsigned int, std::string&)':
mfea_proto_comm.cc:1647: warning: cast from `ip*' to `__uint32_t*' increases
   required alignment of target type
mfea_proto_comm.cc:1801: warning: cast from `char*' to `cmsghdr*' increases
   required alignment of target type
mfea_proto_comm.cc:1860: warning: cast from `char*' to `cmsghdr*' increases
   required alignment of target type
mfea_proto_comm.cc:1869: warning: cast from `u_char*' to `int*' increases
   required alignment of target type
mfea_proto_comm.cc:1870: warning: cast from `char*' to `cmsghdr*' increases
   required alignment of target type

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/home/sources/pkgsrc/net/xorp/work/.gcc/bin/g++ -DHAVE_CONFIG_H -I. -I.. -g -W -
[...]
** Error code 1
        
>How-To-Repeat:
        cd .../net/xorp; make
>Fix:
        Workaround: Compile targeted at i386.
        Fix: don't know. I'll try to upgrade the package to xorp-1.5 
        some time, if nobody beats me to it, and try again.


>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index