amd64/82599: ports/misc/mtx wont compile on amd64

Morten A. Middelthon morten at coretrek.no
Fri Jun 24 07:10:20 GMT 2005


>Number:         82599
>Category:       amd64
>Synopsis:       ports/misc/mtx wont compile on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 24 07:10:06 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Morten A. Middelthon
>Release:        5.4-RELEASE
>Organization:
CoreTrek Development AS
>Environment:
FreeBSD kepler.coretrek.no 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Fri Jun 17 16:41:08 CEST 2005     morten at kepler.coretrek.no:/usr/src/sys/amd64/compile/kepler  amd64
>Description:
The port misc/mtx would not compile on amd64. The port is marked as broken for the amd64, ia64 and sparc64 platform. Output from make:

===>  Building for mtx-1.2.17rel_1
cc -O -pipe  -m486 -DVERSION="\"1.2.17rel\"" -I/usr/src/linux/include -DLONG_PRINT_REQUEST_SENSE=1  -c -o mtx.o mtx.c
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
mtx.c:1: error: CPU you selected does not support x86-64 instruction set
gmake: *** [mtx.o] Error 1
*** Error code 2

Stop in /usr/ports/misc/mtx.

>How-To-Repeat:
Apply the following patch to /usr/ports/misc/mtx/Makefile:

http://coretrekker.com/~morten/Makefile.diff

Then run 'make' in /usr/ports/misc/mtx
>Fix:
Apply the following patches:

in /usr/ports/misc
http://coretrekker.com/~morten/mtx.diff
(This patch was created by Roland Smith <rsmith at xs4all.nl>)

in /usr/ports/misc/mtx
http://coretrekker.com/~morten/Makefile.diff

The program will now compile and run correctly
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list