FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Commit found by message id
Mon, 2 Jan 2006
[ 20:12:50 edwin ] Original commit 
ode devel files touched by this commit Articulated rigid body dynamics library
ode-devel devel  Deleted Deprecated Expired files touched by this commit Articulated rigid body dynamics library (devel)
[PATCH] devel/ode and devel/ode-devel: unbreak on 64bit platforms

        devel/ode and devel/ode-devel ports are marked broken on
        non-i386 archs (i.e. amd64, ia64), because ode fail to build
        on these systems with following errors:

        c++ -Iinclude -c   -fno-exceptions  -fomit-frame-pointer -O -pipe
-I/usr/X11R6/include
        +-DdNODEBUG -o ode/src/timer.o ode/src/timer.cpp
        {standard input}: Assembler messages:
        {standard input}:62: Error: `(%esi)' is not a valid 64 bit base/index
expression
        {standard input}:63: Error: `4(%esi)' is not a valid 64 bit base/index
expression
        {standard input}:86: Error: `(%esi)' is not a valid 64 bit base/index
expression
        {standard input}:87: Error: `4(%esi)' is not a valid 64 bit base/index
expression
        {standard input}:172: Error: `(%esi)' is not a valid 64 bit base/index
expression
        {standard input}:173: Error: `4(%esi)' is not a valid 64 bit base/index
expression
        {standard input}:194: Error: `(%esi)' is not a valid 64 bit base/index
expression
        {standard input}:195: Error: `4(%esi)' is not a valid 64 bit base/index
expression
        {standard input}:234: Error: `(%esi)' is not a valid 64 bit base/index
expression
        {standard input}:235: Error: `4(%esi)' is not a valid 64 bit base/index
expression
        gmake: *** [ode/src/timer.o] Error 1
        *** Error code 2

        Stop in /usr/ports/devel/ode.

        After some investigation, I think I've solved the problem,
        and it would be great to unbreak ode at last.

        The build on 64 bit platforms fails because some 32 bit
        assembly gets included in the ode/src/timer.cpp file.

        That, on it's turn, happens because ode's configurator
        (simple configure analogue written in C) has too weak
        checking for `pentium compatibility' of host system - it
        just tries to compile following assembly code: `mov $0,
        %eax' as a test. That compiles well on 64 bit platforms,
        but because addressing scheme is now 64bit, above-mentioned
        errors occur when compiling ode's source itself.

        The fix is to add a patch to configurator.c that makes
        `pentium compatibility' test more strict. Thus, test will
        fail on 64 bit ystems and i386 assembly won't be used (ode
        will use more portable routines instead).

        This patch is not well tested, as I myself have no 64 bit
        machines in the vicinity, but it surely doesn't break ode
        on x86 :)

        I've mailed it to ode author, it's now also in ODE's CVS.

PR:             ports/90077
Submitted by:   Dmitry Marakasov <amdmi3@mail.ru>
Approved by:    maintainer timeout

Number of ports [& non-ports] in this commit: 2

Showing files for just one port: devel/ode-devel

show all files

hide all files


2 files found
ActionRevisionLinksFile
modify 1.9 View diff View revision /ports/head/devel/ode-devel/Makefile
import 1.1 View revision /ports/head/devel/ode-devel/files/patch-configurator.c
Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
asterisk11Sep 18
squidSep 18
squid33Sep 18
dbusSep 17
nginxSep 16
nginx-develSep 16
phpmyadminSep 13
ossec-hids-clientSep 11
ossec-hids-localSep 11
ossec-hids-serverSep 11
chromiumSep 09
trafficserverSep 05
apache22*Sep 03
apache22-event-mpm*Sep 03
apache22-itk-mpm*Sep 03

8 vulnerabilities affecting 19 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24059
Broken 119
Deprecated 54
Ignore 383
Forbidden 17
Restricted 203
No CDROM 94
Vulnerable 21
Expired 6
Set to expire 49
Interactive 0
new 24 hours 2
new 48 hours3
new 7 days34
new fortnight68
new month228


Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.