|Anonymous | Login | Signup for a new account||2013-12-05 16:31 CET|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005393||OCaml||OCaml general||public||2011-11-01 16:03||2012-01-31 18:02|
|Target Version||Fixed in Version||3.13.0+dev|
|Summary||0005393: Fails to build from source on GNU/kFreeBSD because of -R link option|
|Description||The summary is self-explanatory... attached is a patch that makes the Debian package compile again.|
|Tags||No tags attached.|
|Attached Files||0015-Do-not-add-R-dir-in-X11-link-options-on-GNU-kFreeBSD.patch [^] (606 bytes) 2011-11-01 16:03 [Show Content]|
|Xavier, any objections to my merging this? Stéphane, can you maybe add a comment saying what the -R option does and why it makes things fail on kFreeBSD? (I'm not familiar of kFreeBSD, sorry).|
I haven't found any documentation for -R. It is added only on BSD systems (and not on e.g. GNU).
This option has been introduced in commit 9072 (in 2008) by doligez, and it looks like it sets RPATH, so an equivalent could be -Wl,-rpath= (untested). However, this would go against Debian policy, since libX11 is in a standard location (my guess is that libX11 is in a location that is not searched by default by the dynamic linker on BSD). I doubt anyone would want to run GNU/kFreeBSD with a libX11 that is not in a standard location, though, since it mimics GNU for userland... so I would drop the option for the same reasons it is not given in the other GNU cases.
|After reading http://gcc.gnu.org/faq.html [^] I'm even more confused. Damien, any thoughts on this?|
I have no clue about this one, but can play with
some virtualization tool if needed.
After chatting with Damien, your fix sounds just fine. Committed in svn r11925.
This is all caused by a bug in GNU's config.guess: it is supposed to output at triplet, but on Ubuntu it outputs: i686-pc-linux-gnu, which is a quadruplet.
This potentially breaks all the "case" statements that try to match one member of the triplet.
This should probably be reported to the maintainers of autoconf and/or ubuntu.
|After a look at config.guess, it seems to be broken as designed, no point in reporting it.|
|2011-11-01 16:03||glondu||New Issue|
|2011-11-01 16:03||glondu||File Added: 0015-Do-not-add-R-dir-in-X11-link-options-on-GNU-kFreeBSD.patch|
|2011-12-21 14:20||gasche||Assigned To||=> xclerc|
|2011-12-21 14:20||gasche||Status||new => assigned|
|2011-12-21 14:24||protz||Note Added: 0006447|
|2011-12-21 15:31||glondu||Note Added: 0006460|
|2011-12-21 15:36||protz||Note Added: 0006461|
|2011-12-21 16:48||xclerc||Note Added: 0006465|
|2011-12-21 16:56||protz||Note Added: 0006466|
|2011-12-21 16:56||protz||Status||assigned => closed|
|2011-12-21 16:56||protz||Assigned To||xclerc => protz|
|2011-12-21 16:56||protz||Resolution||open => fixed|
|2011-12-21 16:56||protz||Fixed in Version||=> 3.13.0+dev|
|2012-01-31 15:53||doligez||Note Added: 0006859|
|2012-01-31 18:02||doligez||Note Added: 0006861|
|Copyright © 2000 - 2011 MantisBT Group|