[freebsd] pypy-1.5.0 fails to compile sandbox
Hi, I'm trying to compile pypy with the sandbox option however it fails with: cc -pthread -Wl,--export-dynamic,--version-script=../dynamic-symbols-0 -o pypy-c testing_1.o structimpl.o nonfuncnodes.o nonfuncnodes_1.o nonfuncnodes_2.o nonfuncnodes_3.o nonfuncnodes_4.o nonfuncnodes_5.o nonfuncnodes_6.o nonfuncnodes_7.o nonfuncnodes_8.o nonfuncnodes_9.o nonfuncnodes_10.o nonfuncnodes_11.o nonfuncnodes_12.o nonfuncnodes_13.o nonfuncnodes_14.o nonfuncnodes_15.o nonfuncnodes_16.o nonfuncnodes_17.o nonfuncnodes_18.o nonfuncnodes_19.o nonfuncnodes_20.o nonfuncnodes_21.o nonfuncnodes_22.o nonfuncnodes_23.o nonfuncnodes_24.o nonfuncnodes_25.o nonfuncnodes_26.o implement.o implement_1.o implement_2.o implement_3.o implement_4.o implement_5.o implement_6.o implement_7.o implement_8.o implement_9.o implement_10.o implement_11.o implement_12.o implement_13.o implement_14.o implement_15.o implement_16.o implement_17.o implement_18.o implement_19.o implement_20.o implement_21.o implement_22.o implement_23.o implement_24.o implement_25.o implement_26.o implement_27.o implement_28.o implement_29.o implement_30.o implement_31.o implement_32.o implement_33.o implement_34.o implement_35.o implement_36.o implement_37.o implement_38.o implement_39.o implement_40.o implement_41.o implement_42.o implement_43.o implement_44.o implement_45.o implement_46.o implement_47.o implement_48.o implement_49.o implement_50.o implement_51.o implement_52.o implement_53.o implement_54.o implement_55.o implement_56.o implement_57.o implement_58.o implement_59.o implement_60.o profiling.o debug_print.o ../module_cache/module_0.o ../module_cache/module_1.o -lintl -lm /usr/bin/ld: cannot find -lintl *** Error code 1 Under FreeBSD libintl is installed under /usr/local/lib, which requires -L/usr/local/lib for the compiler to find it. That path is included in the platform/freebsd.py code and I set PYPY_LOCALBASE=/usr/local. If this has been fixed in trunk, please could you point me to the revision that fixed it. Regards, David
Hi, On Sun, May 22, 2011 at 11:04 PM, David Naylor <naylor.b.david@gmail.com> wrote:
If this has been fixed in trunk, please could you point me to the revision that fixed it.
Sorry for the delay. We don't usually test much on FreeBSD, but I've found the source of the bug: it's not adding the -L/usr/local option in the final Makefile. Should be fixed by revision e69c2c3e4988. A bientôt, Armin.
Re-hi, On Sat, May 28, 2011 at 9:19 AM, Armin Rigo <arigo@tunes.org> wrote:
Sorry for the delay. We don't usually test much on FreeBSD, but I've found the source of the bug: it's not adding the -L/usr/local option in the final Makefile. Should be fixed by revision e69c2c3e4988.
Bah, I wrote this fix before writing a proper test, and of course it was bogus. See 06948d81bf2b. A bientôt, Armin.
participants (2)
-
Armin Rigo
-
David Naylor