Commit Graph

62 Commits

Author SHA1 Message Date
brad
c54dae5771 Add some initial bits for mips64 to pass down the proper flags
to the assembler and linker. Still work in progress.

ok sthen@
2013-01-08 10:14:13 +00:00
brad
48a783ee6f - Remove USE_LIBTOOL and explicit CONFIGURE_STYLE as the CMake
module does that for us
- Shuffle some of the Makefile bits around

ok sthen@
2013-01-08 09:53:46 +00:00
brad
ac1ecd7415 Silence some warnings and allow passing down some feature flags to the linker.
ok sthen@
2013-01-04 01:10:30 +00:00
brad
cc75b05c01 Update to LLVM 3.2 and switces to __guard_local for stack protector support.
Initial work from landry@ with some fixes and further tweaking from pascal@ and brad@

ok sthen@ landry@
2012-12-23 20:49:29 +00:00
jasper
9319ac3f2e - drop the 'svn' suffix from llvm-config --version output.
ok sthen@
2012-10-16 18:22:30 +00:00
sthen
42c6a55c0c don't .include <bsd.port.arch.mk> just to get definitions from arch-defines 2012-09-30 09:16:36 +00:00
sthen
651353dd61 fix RTTI building since moving to CMake - problem reported & fix tested
by Tony Sidaway, thanks!
2012-09-05 23:19:24 +00:00
pascal
df44ab302a Disable PIE for now in clang until someone is masochistic enough to figure
out how to best handle enabling it by default.  Manually speficying -fpie
-Wl,-pie will still work, of course.

ok sthen@
2012-08-31 16:21:20 +00:00
sthen
85a7d74bd9 Re-sync CLang with the OBSD_LIB_SPEC now used in base (-lc for libs was
removed again). From Brad.
2012-08-29 00:45:47 +00:00
pascal
c619f16384 Mimic the new gcc -pthread semantics. From Brad.
looks good to matthew@
2012-08-21 17:51:53 +00:00
dcoppa
ef1092aee3 Remove '-lpthread'->'-pthread' hacks 2012-08-20 08:12:47 +00:00
sthen
4c3755caaf Sync with r161481 from upstream, "Revert part of r161175 which was wrong
for OpenBSD's PowerPC target". Problem pointed out by landry@.
2012-08-08 09:35:24 +00:00
sthen
eca8eaed22 Add several CLang patches from upstream via Brad.
- Only provide /usr/include in the default C header search path.
- OpenBSD does not support TLS.
- Provide target support for powerpc, arm, mips64, mips64el and sparc.
2012-08-06 22:35:26 +00:00
pascal
af7cfff551 Make stack smashing protection work with our native libc routines, and enable
it by default.

ok jsg@
2012-08-04 14:47:52 +00:00
sthen
ce3a4663cb use LLVM_ARCHS to populate ONLY_FOR_ARCHS, better to have this in a
central place.
2012-07-08 18:36:12 +00:00
dcoppa
cf153cacfa Fix libpthread linking (use '-pthread' instead of '-lpthread') for
cmake-based ports that use "CHECK_LIBRARY_EXISTS(pthread ...)".

Fix libpthread linking for devel/llvm too (additional care was
needed).

No fallout in a bulk build: thanks landry!
2012-06-14 09:32:00 +00:00
jasper
1e878a85e0 - let g-c-a use the clang module to get the correct includes path
- add a reminder commennt in llvm/Makefile

discussed with and ok sthen@
2012-05-26 09:14:34 +00:00
sthen
68d394c41c Update to LLVM 3.1.
Thanks Brad for pointing out a few problems with my original diff.
2012-05-25 09:05:49 +00:00
dcoppa
fa4bc9a99d Fix CMake check for pthread_mutex_lock: use check_library_exists()
function instead of the buggy check_symbol_exists().

ok sthen@
2012-05-05 19:24:01 +00:00
sthen
e7e448a021 Update Clang to use _REENTRANT instead of _POSIX_THREADS when using the
-pthread flag. From Brad.
2012-04-23 23:11:01 +00:00
sthen
9ed38fb990 set ONLY_FOR_ARCHS to try and build only on arch where packages currently exist. 2012-04-11 13:05:45 +00:00
sthen
88ea72915d Change SEPARATE_BUILD=(concurrent|simple) to Yes; bsd.port.mk doesn't
make a distinction between these.  ok aja@ dcoppa@
2012-03-29 13:38:12 +00:00
sthen
9c76f842e6 NOT_FOR_ARCHS=sparc, this uses too much memory, as found by phessler 2012-01-19 08:41:13 +00:00
sthen
f0bb115a15 Remove unnecessary patch to ignore -Wbounded, it was included upstream
elsewhere in the file. Reported by Amit Kulkarni.
2011-12-15 08:39:51 +00:00
sthen
7ff2ae5f79 update to LLVM/CLang 3.0, thanks sebastia@ for testing.
- switch to cmake build
- add profiling support from jsg@
2011-12-14 22:58:23 +00:00
espie
c5a475ebe0 normalize pkgpath 2011-09-16 09:24:48 +00:00
jasper
b9751fcca8 - update scan-build link in MESSAGE
from tim van der molen
2011-06-30 19:57:14 +00:00
jasper
eec0417831 bump after default python version switch 2011-06-08 17:31:05 +00:00
chl
c69a51fdef No need to "make depend" anymore to build kernel.
ok sthen@
2011-05-03 15:03:03 +00:00
jsg
e9fbea9c63 update to 2.9
ok sthen@ tested by matthew@ jeremy@
2011-04-09 21:43:39 +00:00
jeremy
f02872702e Bump llvm version to 2.8.
OK @sthen
2011-01-13 00:15:50 +00:00
espie
5855efb734 move depends to new style 2010-11-15 19:45:56 +00:00
espie
5c08d95027 USE_GROFF=Yes 2010-10-18 17:47:50 +00:00
sthen
9dce0552ee - enable RTTI, requested by jeremy@ and suggested in LLVM packager notes
- add a comment referring to packager notes

- garbage-collect symlink which is no longer necessary and inclusion
of bsd.own.mk that was previously used to check the version of
the system compiler

tested by jeremy@ and myself
2010-09-28 07:38:24 +00:00
jasper
5e9f6969d7 bumps 2010-08-30 22:09:45 +00:00
sthen
07b583b138 Doesn't build on sparc64 yet; set BROKEN-sparc64. 2010-07-31 11:04:48 +00:00
sthen
390e9c3c97 remove ports-tree-gcc4 workarounds, use REVISION, etc. ok jsg@ 2010-07-21 22:19:01 +00:00
naddy
aa4cc93d94 bump after i386/hppa/powerpc gcc3->gcc4 switch 2010-07-09 08:45:11 +00:00
sthen
c40c2a56d2 Adjust LLVM/CLang to work with GCC4 in base, while still working
with ports GCC4 for arch which haven't switched yet.

With/ok jsg@.
2010-06-12 12:15:08 +00:00
jsg
84c63f751b Update to LLVM/Clang 2.7
ok sthen@
2010-04-29 16:37:09 +00:00
sthen
9d0f70b46f - fix dependencies following libstdc++ bump from 4.2.4p3 to 4.2.4v0
- bump relevant PKGNAMEs
2009-11-18 00:49:09 +00:00
jsg
d264b944d0 update to 2.6
ok sthen@
2009-11-02 22:53:27 +00:00
jsg
e9acc9f4a7 Ignore bounded attribute and kprintf format for now, to reduce the number
of warnings we don't care about.

ok sthen@
2009-08-16 09:54:28 +00:00
jsg
e13506b12d Enable release/optimised build and fix PLIST.
ok sthen@
2009-08-09 20:16:41 +00:00
sthen
d16432b095 Update to a newer snapshot, requested by jsg@. Fixes building autoconf
projects, upstream rolled in the OpenBSD backend with proper target-specific
definitions etc.
2009-08-09 11:26:03 +00:00
sthen
f36783edf3 set VMEM_WARNING; pointed out by jsg@ 2009-06-29 13:42:54 +00:00
sthen
e6fe633831 - add OpenBSD config; from jsg@.
- install a symlink as a workaround to a bug identifying the path to clang-cc.

commit approved by naddy.
2009-06-25 15:25:13 +00:00
sthen
b960d65016 note the known problem with autoconf projects, found by jsg and Moritz Grimm 2009-06-25 09:57:08 +00:00
sthen
ec5582b44b disable libffi; autoconf picks it up, and the build fails if it's there.
bump not necessary.
2009-06-24 20:23:12 +00:00
sthen
4310962ae4 note that we also need target-specific definitions (__OpenBSD__ etc). 2009-06-23 08:53:19 +00:00