Re: What compiler is used to build a port

2013-07-01 Thread Olivier Nicole
> > I have a strange situation: 2 machines, 9.1 p4, on the first > machine, > > graphicslibfpx build with the stock compiler: > > > > $ make > > ===> Fetching all distfiles requir

Re: What compiler is used to build a port

2013-07-01 Thread Anton Shterenlikht
From olivier.nic...@cs.ait.ac.th Mon Jul 1 12:12:08 2013 > I have a strange situation: 2 machines, 9.1 p4, on the first machine, > graphicslibfpx build with the stock compiler: > > $ make > ===> Fetc

Re: What compiler is used to build a port

2013-07-01 Thread Olivier Nicole
Thank you Anto, > I have a strange situation: 2 machines, 9.1 p4, on the first machine, > graphicslibfpx build with the stock compiler: > > $ make > ===> Fetching all distfiles required by libfpx-1.3.1.1 for building > ===> Extra

Re: What compiler is used to build a port

2013-07-01 Thread Anton Shterenlikht
Date: Mon, 1 Jul 2013 15:36:46 +0700 (ICT) From: Olivier Nicole To: freebsd-questions@freebsd.org Subject: What compiler is used to build a port Hi, I have a strange situation: 2 machines, 9.1 p4, on the first machine, graphicslibfpx build

What compiler is used to build a port

2013-07-01 Thread Olivier Nicole
Hi, I have a strange situation: 2 machines, 9.1 p4, on the first machine, graphicslibfpx build with the stock compiler: $ make ===> Fetching all distfiles required by libfpx-1.3.1.1 for building ===> Extracting for libfpx-1.3.1.1 => SHA256 Checksum OK for libfpx-1.3.1-1.tar.xz. ===&g

(gstreamer-plugins-0.10.35_1,3) (compiler error)

2012-06-29 Thread Nikolai Wendorf
d extern declaration of '_mm_mul_ps' resample_sse.h:49: warning: implicit declaration of function '_mm_loadu_ps' the final complaint from portupgrade was ! multimedia/gstreamer-plugins (gstreamer-plugins-0.10.35_1,3) (compiler error) FreeBSD 8.3-STABLE #0: Thu Jun 28 1

Re: setting gcc46 as default compiler?

2012-06-08 Thread Volodymyr Kostyrko
Jeff Hamann написал: I've built and installed the gcc46 compiler(s) - need gfortran - and I can't seem to find the correct documentation on how to update /etc/make.conf for including the gfortran46. This is what mine currently looks like: $ cat make.conf # added by use.perl 2012-0

setting gcc46 as default compiler?

2012-06-07 Thread Jeff Hamann
I've built and installed the gcc46 compiler(s) - need gfortran - and I can't seem to find the correct documentation on how to update /etc/make.conf for including the gfortran46. This is what mine currently looks like: $ cat make.conf # added by use.perl 2012-06-07 03:03:21 PERL_VERS

Re: Which compiler compiled system?

2012-03-12 Thread Chuck Swiger
On Mar 12, 2012, at 12:45 PM, kalth...@googlemail.com wrote: > Is there a way to determine whether a FreeBSD-system was compiled with gcc or > clang? > I thought of some libs or so that might significantly differ. It's fairly easy to determine whether assembly code was compiled with gcc or clang

Re: Which compiler compiled system?

2012-03-12 Thread Chad Perrin
On Mon, Mar 12, 2012 at 04:49:38PM -0400, Pierre-Luc Drouin wrote: > > If Java is broken, then you know FreeBSD was compiled with clang... It's probably more accurate to say "If Java is not broken, it's almost certainly built with GCC. If it's broken, it could go either way." (No offense to the

Re: Which compiler compiled system?

2012-03-12 Thread Matthew Story
$ # one example $ gcc -Wall -o hello_world.gcc hello_world.c $ clang -Wall -o hello_world.clang hello_world.c $ cmp hello_world.gcc hello_world.clang hello_world.gcc hello_world.clang differ: char 25, line 1 this does suggest that if you know gcc and clang are the only 2 options for compilation on a

Re: Which compiler compiled system?

2012-03-12 Thread Da Rock
On 03/13/12 06:49, Pierre-Luc Drouin wrote: If Java is broken, then you know FreeBSD was compiled with clang... I wouldn't say that is categorical. On Mon, Mar 12, 2012 at 3:45 PM, wrote: Hi, Is there a way to determine whether a FreeBSD-system was compiled with gcc or clang? I thought of

Re: Which compiler compiled system?

2012-03-12 Thread Pierre-Luc Drouin
If Java is broken, then you know FreeBSD was compiled with clang... On Mon, Mar 12, 2012 at 3:45 PM, wrote: > Hi, > > Is there a way to determine whether a FreeBSD-system was compiled with gcc > or clang? > I thought of some libs or so that might significantly differ. > > Regards, > kaltheat > >

Which compiler compiled system?

2012-03-12 Thread kaltheat
Hi, Is there a way to determine whether a FreeBSD-system was compiled with gcc or clang? I thought of some libs or so that might significantly differ. Regards, kaltheat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/li

Re: on purpose or forgotten ? hardcoded compiler in basesystem-makefiles

2012-03-05 Thread Matthew Seaman
o.o: hello.c /usr/include/stdio.h /usr/include/sys/cdefs.h \ /usr/include/sys/_null.h /usr/include/sys/_types.h \ /usr/include/machine/_types.h No need for this sort of construct to be gcc specific. > /usr/src/tools/test/dtrace/Makefile > c++ -o $@ $< -lpthread Not sure about thi

on purpose or forgotten ? hardcoded compiler in basesystem-makefiles

2012-03-05 Thread Dr. A. Haakh
a quick search revealed following usages: FreeBSD abaton.Haakh.de 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Feb 29 13:49:36 CET 2012 t...@abaton.haakh.de:/usr/obj/usr/src/sys/ABATON i386 ah@abaton:~$ find /usr/src/ -name Makefile\* -exec egrep '^[[:blank:]]+[gc+]{2,3}[[:blank:]]+..' {} \; -p

Base compiler and amdfam10 - anybody/anything? (fwd)

2011-11-20 Thread Vladimir Kushnir
Sorry for crossposting but since no one on hackers@ seems to be interested... -- Forwarded message -- Date: Wed, 16 Nov 2011 12:30:35 +0200 (EET) From: Vladimir Kushnir To: hack...@freebsd.org Subject: Base compiler and amdfam10 - anybody/anything? Hi, Are there any attempts

Re: Compiler

2011-11-20 Thread Polytropon
On Sun, 20 Nov 2011 18:40:41 +0200, Yordan Petrov wrote: > Hi > How could I compile some cgi files for FreeBSD Depending on the source's programming language, you'd have to use the corresponding compiler. For interpreted CGI files, the web server needs to be configured accordingl

Compiler

2011-11-20 Thread Yordan Petrov
Hi How could I compile some cgi files for FreeBSD Is there any online tool ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd

Custom compiler/{C,CXX,F}FLAGS and /etc/make.conf - how to?

2011-11-09 Thread Vladimir Kushnir
Dear ALL, The subject says it all. I'm trying to push out of my box every ounce of performance, perhaps even with (yet experimental) path64 compiler. So my question is as simple as that: what is the precise spell to put in make.comf to get (while not disrupting the ports infrastru

How should I complain about ARM compiler?

2011-09-26 Thread Naoyuki Tai
em to me is that, FreeBSD 8.2's GCC 4.2 is the only one that marked to work for ARM, either in the distribution or in the port tree. So, who should I complain to? Chances are slim that -STABLE's compiler gets updated to my liking. I have no way of knowing right now that the compilers in the

Re: Colorized compiler/linker messages

2011-01-23 Thread Michael D. Norwick
On 01/23/2011 17:07, Mark Johnston wrote: On Sat, Jan 22, 2011 at 08:00:52PM -0600, Michael D. Norwick wrote: Good Day, I have seen this for some time when building ports and was wondering how it was done. GCC when compiling and linking certain programs, ebook for example, emits messages i

Re: Colorized compiler/linker messages

2011-01-23 Thread Mark Johnston
On Sat, Jan 22, 2011 at 08:00:52PM -0600, Michael D. Norwick wrote: > Good Day, > > I have seen this for some time when building ports and was wondering > how it was done. GCC when compiling and linking certain programs, > ebook for example, emits messages in various colors. How is that > done?

Re: Colorized compiler/linker messages

2011-01-23 Thread Michael D. Norwick
On 01/22/2011 22:22, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Sat Jan 22 20:10:21 2011 Date: Sat, 22 Jan 2011 20:00:52 -0600 From: "Michael D. Norwick" To: freebsd-questions@freebsd.org Subject: Colorized compiler/linker messages Good Day, I have seen this for

Re: Colorized compiler/linker messages

2011-01-22 Thread Charlie Kester
On Sat 22 Jan 2011 at 18:00:52 PST Michael D. Norwick wrote: Good Day, I have seen this for some time when building ports and was wondering how it was done. GCC when compiling and linking certain programs, ebook for example, emits messages in various colors. How is that done? Where does on

Re: Colorized compiler/linker messages

2011-01-22 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org Sat Jan 22 20:10:21 2011 > Date: Sat, 22 Jan 2011 20:00:52 -0600 > From: "Michael D. Norwick" > To: freebsd-questions@freebsd.org > Subject: Colorized compiler/linker messages > > Good Day, > > I have seen this for

Colorized compiler/linker messages

2011-01-22 Thread Michael D. Norwick
Good Day, I have seen this for some time when building ports and was wondering how it was done. GCC when compiling and linking certain programs, ebook for example, emits messages in various colors. How is that done? Where does one find what the various colors are supposed to signify? Or, i

Re: Compiling software with different compiler than cc or clang results in unusable output

2010-09-12 Thread Ian Smith
I did already, the whole software is built up by those printf's. > > The problem boiled down to be some problem in the UNIX time routines. I > use localtime(3), time(3) and a strftime(3) and strptime(3). > > I use a 'wikipedia'-algorithm converting the actual t

Re: Compiling software with different compiler than cc or clang results in unusable output

2010-09-11 Thread Mehmet Erol Sanliturk
On Sat, Sep 11, 2010 at 10:05 AM, O. Hartmann < ohart...@mail.zedat.fu-berlin.de> wrote: > > Hello. > Well, the only other architectures I have access to are Linux boxes. > > clang ist a very nice compiler since its syntax checking is formidable. But > its code is slow a

Re: Compiling software with different compiler than cc or clang results in unusable output

2010-09-11 Thread O. Hartmann
directed to www.oracle.com <http://www.oracle.com> owned pages ) . Personally I tried GCC compilers , but I found that they are very unreliable . Now I am using Sun Studio compilers in OpenSolaris and Linux , and never GCC compilers . Thank you very much . Mehmet Erol Sanliturk  Hell

Re: Compiling software with different compiler than cc or clang results in unusable output

2010-09-11 Thread O. Hartmann
oint. I will check this again and look forward for a cleaner solution. But isn't this a 'bug'? I'll try the BETA of the new FreeBSD PathScale compiler if I get some. Well, I'll report ... Oliver ___ freebsd-questions@free

Re: Compiling software with different compiler than cc or clang results in unusable output

2010-09-11 Thread Mehmet Erol Sanliturk
On Sat, Sep 11, 2010 at 5:43 AM, Andrew Brampton > wrote: > On 11 September 2010 10:28, O. Hartmann > wrote: > > > > Dear Sirs, > > > > you see me a kind of desperate. I wrote my own a small piece of software > in > > C, calculating the orbit and position of astronomical objects, astroids, > in

Re: Compiling software with different compiler than cc or clang results in unusable output

2010-09-11 Thread Andrew Brampton
On 11 September 2010 10:28, O. Hartmann wrote: > > Dear Sirs, > > you see me a kind of desperate. I wrote my own a small piece of  software in > C, calculating the orbit and position of astronomical objects, astroids, in > a heliocentric coordinate system from Keplerian orbital elements. So far. >

Compiling software with different compiler than cc or clang results in unusable output

2010-09-11 Thread O. Hartmann
Dear Sirs, you see me a kind of desperate. I wrote my own a small piece of software in C, calculating the orbit and position of astronomical objects, astroids, in a heliocentric coordinate system from Keplerian orbital elements. So far. The software calculates the set of points of an ellipse

Re: compiler flag -Werror

2010-06-17 Thread akash kumar
Thanks Mark/kitsana for your help. Its working for me now. Thanks, Akash. From: Mark Tinguely To: CyberLeo Kitsana Cc: akash kumar Sent: Thu, 17 June, 2010 1:21:53 AM Subject: Re: compiler flag -Werror CyberLeo Kitsana wrote: > On 06/16/2010 08:02

About cross compiler from x86+redhat to i386+freebsd

2010-06-16 Thread Gmail
to ask: 1, how to make cross compile chain with crosstool-0.xx or crosstool-NG. 2, did anyone sucessfully build the cross compiler from x86+redhat to i386+freebsd ? I have seen that John Blair try to build the same complier, has you done it? If you know how to do that, please tell

Re: compiler flag -Werror

2010-06-16 Thread CyberLeo Kitsana
le" > > I noticed that the compiler flags -Werror is invoked default with my > compiler. > I want to remove this flag because all the warning as taken as errors due to > which my compilation stops. > > Can you please help me how/where to remove this flag. I have run

compiler flag -Werror

2010-06-16 Thread akash kumar
Hi all, I am working on building a freebsd kernel for mips. As part of this i built cross tool chain for mips from my host machine(i386). After that i was building my kernel using make buildkernel KERNCONF="configfile" I noticed that the compiler flags -Werror is invoked defau

mingw cross compiler -- cc1 issue

2010-06-09 Thread Malcolm Kay
I have installed mingw32 from ports:- mingw32-gcc-4.4.0_1,1 mingw32-binutils-2.20,1 mingw32-bin-msvcrt-r3.18.a3.14 OS:- FreeBSD xi.home 8.0-RELEASE FreeBSD 8.0-RELEASE #0 Running:- %mingw32-gcc dummy.c appears to execute without problems, producing a.exe Running the alternative:- %/usr/local/min

Re: multimedia/ffmpeg fails with internal compiler error

2010-05-31 Thread Eitan Adler
On Mon, May 31, 2010 at 8:11 PM, Roland Smith wrote: > On Mon, May 31, 2010 at 05:16:50PM +0300, Eitan Adler wrote: >> Is this a >> a) PEBKAC > > Maybe. I don't know how many ports have actually been tested with gcc 4.6. I'm > guessing the ports build cluster us

Re: multimedia/ffmpeg fails with internal compiler error

2010-05-31 Thread Roland Smith
On Mon, May 31, 2010 at 05:16:50PM +0300, Eitan Adler wrote: > Is this a > a) PEBKAC Maybe. I don't know how many ports have actually been tested with gcc 4.6. I'm guessing the ports build cluster uses the base system compiler or the required version. > b) freeBSD ports er

multimedia/ffmpeg fails with internal compiler error

2010-05-31 Thread Eitan Adler
Is this a a) PEBKAC b) freeBSD ports error c) ffmpeg problem d) compiler problem (as the error seems to be saying) gcc46 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I"/dta/ports/multimedia/ffmpeg/work/ffmpeg-0.5.2" -pipe -mssse3 -mtune=native -O3 -ffast-math -

Re: Bacula 5.0 compiler error (crypto.c)

2010-04-29 Thread Efren Bravo
--- El jue, 29/4/10, Brian A. Seklecki (NOC) escribió: > De: Brian A. Seklecki (NOC) > Asunto: Re: Bacula 5.0 compiler error (crypto.c) > Para: "Efren Bravo" > CC: "freeBSD" > Fecha: jueves, 29 de abril, 2010 07:50 > On Mon, 2010-04-26 at 09:48 -0400, > Br

Re: Bacula 5.0 compiler error (crypto.c)

2010-04-29 Thread Brian A. Seklecki (NOC)
On Mon, 2010-04-26 at 09:48 -0400, Brian A. Seklecki (CFI NOC) wrote: > On 4/26/2010 9:05 AM, Efren Bravo wrote: > > I've OpenSSL 1.0.0 installed and ports up2date. > > > > My server is on production, so, What do you think I should do in my case? > > > > Okay yea you'll need 5.0.1 and a copy of K&

Re: Bacula 5.0 compiler error (crypto.c)

2010-04-26 Thread Brian A. Seklecki (CFI NOC)
On 4/26/2010 9:05 AM, Efren Bravo wrote: I've OpenSSL 1.0.0 installed and ports up2date. My server is on production, so, What do you think I should do in my case? Okay yea you'll need 5.0.1 and a copy of K&R or Stevens` APUE to help hold you down. [1] ~BAS 1. Down under water, until the t

Re: Bacula 5.0 compiler error (crypto.c)

2010-04-26 Thread Efren Bravo
> De: Brian A. Seklecki (NOC) > Asunto: Re: Bacula 5.0 compiler error (crypto.c) > Para: "Efren Bravo" > CC: "freeBSD" > Fecha: sábado, 24 de abril, 2010 09:57 > > > crypto.c: In function 'ASN1_OCTET_STRING* > openssl_cert_keyid(X509*

Re: Bacula 5.0 compiler error (crypto.c)

2010-04-24 Thread Brian A. Seklecki (NOC)
> crypto.c: In function 'ASN1_OCTET_STRING* openssl_cert_keyid(X509*)': > crypto.c:333: error: invalid conversion from 'const X509V3_EXT_METHOD*' to > 'X509V3_EXT_METHOD*' > crypto.c: In function 'CRYPTO_SESSION* crypto_session_new(crypto_cipher_t, > alist*)': What's your "uname -a" look like?

Bacula 5.0 compiler error (crypto.c)

2010-04-19 Thread Efren Bravo
Hi there, I'm trying to install bacula server from /usr/ports/sysutils/bacula-server and make install aborts with the message: ===> Building for bacula-server-5.0.0 ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-5.0.0/src ==>Entering directory /usr/ports/sysutils/bacula-s

Re: Compiler Flags problem with core2 CPU

2010-03-03 Thread Chuck Swiger
# reserved for user applications. # .if ${MACHINE_ARCH} == "i386" && ${CC} != "icc" CFLAGS+=-mno-align-long-strings -mpreferred-stack-boundary=2 \ -mno-mmx -mno-3dnow -mno-sse -mno-sse2 INLINE_LIMIT?= 8000 .endif Trying to override the default comp

Re: Compiler Flags problem with core2 CPU

2010-03-03 Thread Giorgos Keramidas
On Tue, 2 Mar 2010 23:26:20 +0200, Dan Naumov wrote: >>See the section "3.17.14 Intel 386 and AMD x86-64 Options" in the gcc >>Info manual. It contains a full list of the supported CPU-TYPE values >>for the -mtune=CPU-TYPE option. The -march=CPU-TYPE option accepts the >>same CPU types: >> >>

Re: Compiler Flags problem with core2 CPU

2010-03-03 Thread Aaron Lewis
[r...@meilk /usr/src/sys/i386/compile/AARON]# make CC='cc' make -f ../../../dev/aic7xxx/aicasm/Makefile MAKESRCPATH=../../../dev/aic7xxx/aicasm Warning: Object directory not changed from original /usr/src/sys/i386/compile/AARON cc -O2 -pipe -march=i686 -ffast-math -mfpmath=sse -O3 -nostdinc -I

Re: Compiler Flags problem with core2 CPU

2010-03-02 Thread ill...@gmail.com
On 28 February 2010 07:38, Aaron Lewis wrote: > Hi, >   I gonna recompile kernel for my core2 CPU , so i'd like to pass some flags > to gcc. >   Kinds of "-march=core2" , i tried to modify /etc/make.conf >     e.g    CFLAGS += -march=core2 -O20 -ffast-math -mfpmath=sse >   But it fails .. bad arch

RE: Compiler Flags problem with core2 CPU

2010-03-02 Thread Dan Naumov
>See the section "3.17.14 Intel 386 and AMD x86-64 Options" in the gcc >Info manual. It contains a full list of the supported CPU-TYPE values >for the -mtune=CPU-TYPE option. The -march=CPU-TYPE option accepts the >same CPU types: > >`-march=CPU-TYPE' > Generate instructions for the m

Re: Compiler Flags problem with core2 CPU

2010-03-02 Thread Giorgos Keramidas
t;> doesn't know about core2, >> use 'native' if you must. >> >> >>> And is that useful to let gcc select cpu specified asm code ? >> >> Only for some userland stuff like openssl. > > Really ? It's bad to use custom flags to com

Re: Compiler Flags problem with core2 CPU

2010-03-02 Thread Giorgos Keramidas
On Sun, 28 Feb 2010 20:38:45 +0800, Aaron Lewis wrote: > Hi, >I gonna recompile kernel for my core2 CPU , so i'd like to pass some > flags to gcc. >Kinds of "-march=core2" , i tried to modify /etc/make.conf >e.gCFLAGS += -march=core2 -O20 -ffast-math -mfpmath=sse >But it fails

[SOLVED] Compiler Flags problem with core2 CPU

2010-03-02 Thread Aaron Lewis
James Phillips wrote: I laughed at your question because I remember reading somewhere that using aggressive optimization options is a good way to find compiler bugs. I think that extends of optimizations for "new" CPU architectures as well. I also heard kernel code avoids MMX instru

Re: Compiler Flags problem with core2 CPU

2010-03-01 Thread James Phillips
> Date: Sun, 28 Feb 2010 22:37:27 +0800 > From: Aaron Lewis > Subject: Re: Compiler Flags problem with core2 CPU > To: Paul B Mahol > Cc: freebsd-questions@freebsd.org > Message-ID: <4b8a7fa7.1070...@gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; > fo

Re: compiler flags

2010-02-28 Thread Bruce Cran
On Sunday 28 February 2010 15:31:55 Jerry wrote: > I am attempting to redo a Gateway GT5220 PC. The CPU is recognized as: > > CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2009.16-MHz 686-class > CPU) > > Now, would it be advantageous to set the CPU type in the > '/etc/make.conf' and poss

compiler flags

2010-02-28 Thread Jerry
I am attempting to redo a Gateway GT5220 PC. The CPU is recognized as: CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2009.16-MHz 686-class CPU) Now, would it be advantageous to set the CPU type in the '/etc/make.conf' and possibly '/etc/src.conf' files. According to the "/usr/share/exampl

Re: Compiler Flags problem with core2 CPU

2010-02-28 Thread Paul B Mahol
Do not top post. On 2/28/10, Aaron Lewis wrote: > Really ? It's bad to use custom flags to compile kernel , why do you > think so ? > I'd like to know more about this : ) Use google. > > So setting optimize compiler flags is only useful for userland stuff ? > > Pa

Re: Compiler Flags problem with core2 CPU

2010-02-28 Thread Aaron Lewis
Really ? It's bad to use custom flags to compile kernel , why do you think so ? I'd like to know more about this : ) So setting optimize compiler flags is only useful for userland stuff ? Paul B Mahol wrote: On 2/28/10, Aaron Lewis wrote: Hi, I gonna recompile kernel for my

Re: Compiler Flags problem with core2 CPU

2010-02-28 Thread Paul B Mahol
On 2/28/10, Aaron Lewis wrote: > Hi, > I gonna recompile kernel for my core2 CPU , so i'd like to pass some > flags to gcc. > Kinds of "-march=core2" , i tried to modify /etc/make.conf > > e.gCFLAGS += -march=core2 -O20 -ffast-math -mfpmath=sse > But it fails .. bad arch switch

Compiler Flags problem with core2 CPU

2010-02-28 Thread Aaron Lewis
Hi, I gonna recompile kernel for my core2 CPU , so i'd like to pass some flags to gcc. Kinds of "-march=core2" , i tried to modify /etc/make.conf e.gCFLAGS += -march=core2 -O20 -ffast-math -mfpmath=sse But it fails .. bad arch switch , core2 cpu is not supported ? And is

cross compiler for x86_64 freebsd

2010-01-12 Thread john blair
I am trying to build a crosscompiler (gcc-4.1.2, binutils-2.15, freebsd-8.0) with target as x86_64-freebsd and host as i686-linux. Everything builds successfully but compiler-assist libraries (libgcc_s, libstdc++, etc.) are Linux library, not a FreeBSD one. $ file gcc-4.1.2/x86_64-freebsd8.0/lib

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-17 Thread Mel
uot; doesn't solve the issue :-/ > > > > In file included from item.h:2199, > > from mysql_priv.h:589, > > from ha_berkeley.cc:53: > > item_geofunc.h:78: internal compiler error: Illegal instruction: 4 > > Ok, there are two m

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-17 Thread Ivan Voras
99, > from mysql_priv.h:589, > from ha_berkeley.cc:53: > item_geofunc.h:78: internal compiler error: Illegal instruction: 4 Ok, there are two more possibilities: a) Your hardware has problems (try http://www.memtest86.com/) b) Your compiler was itself compi

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-17 Thread Gilles
from ha_berkeley.cc:53: item_geofunc.h:78: internal compiler error: Illegal instruction: 4 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-17 Thread Gilles
On Tue, 17 Feb 2009 09:45:40 +0100, Gilles wrote: >How should I tell gcc to compile for either a PIII processor, or just >plain i386? BTW, here are the CFLAGS-related lines MySQL Server's Makefile: .if defined(WITH_LINUXTHREADS) CFLAGS+=-D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE CFLAGS+=

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-17 Thread Gilles
On Mon, 16 Feb 2009 11:32:46 -0900, Mel wrote: >If you have none in /etc/make.conf that's a good start. >If it still fails, then make sure BUILD_OPTIMIZED is unset. >Also comment any CPUTYPE variables in /etc/make.conf. Thanks again. I'm not really a developper, and don't know quite how to solve

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-16 Thread Mel
On Monday 16 February 2009 05:46:01 Gilles wrote: > On Mon, 16 Feb 2009 15:12:59 +0100, Ivan Voras > > wrote: > >If you have any CFLAGS set (the most common are those for CPU > >optimizations), disable them and try again. > > Thanks for the tip. Do you know which value I should set for this > swit

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-16 Thread Gilles
On Mon, 16 Feb 2009 15:12:59 +0100, Ivan Voras wrote: >If you have any CFLAGS set (the most common are those for CPU >optimizations), disable them and try again. Thanks for the tip. Do you know which value I should set for this switch, if at all? # dmesg | grep -i CPU CPU: Intel Pentium III (994

Re: [6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-16 Thread Ivan Voras
Gilles wrote: > Hello > > I updated the Ports collection on this 6.3 host, but it fails > compiling MySQL Server 5.1: > > === > In file included from item.h:2428, > from mysql_priv.h:749, > from sql_profile.cc:32: > item_cmp

[6.3/MySQL Server 5.1] item_cmpfunc.h:1301: internal compiler error

2009-02-16 Thread Gilles
Hello I updated the Ports collection on this 6.3 host, but it fails compiling MySQL Server 5.1: === In file included from item.h:2428, from mysql_priv.h:749, from sql_profile.cc:32: item_cmpfunc.h:1301: internal compiler error: Illegal instruction: 4 Please

Re: Question about install of Fortran compiler

2009-01-28 Thread Bruce Cran
On Tue, 27 Jan 2009 16:30:11 -0500 "V. M. Tame-Reyes" wrote: > > Hello FreeBSD community, > > I had a friend download all the files in freeBSD ports site > (the official one) so i have a large collection of .tbz files > but i don't seem to be able to find a

Re: Question about install of Fortran compiler

2009-01-27 Thread Tom Everett
) cd /usr/ports/lang/g96 make make test make install V. M. Tame-Reyes wrote: Hello FreeBSD community, I had a friend download all the files in freeBSD ports site (the official one) so i have a large collection of .tbz files but i don't seem to be able to find a correct fortran 77 com

Question about install of Fortran compiler

2009-01-27 Thread V. M. Tame-Reyes
Hello FreeBSD community, I had a friend download all the files in freeBSD ports site (the official one) so i have a large collection of .tbz files but i don't seem to be able to find a correct fortran 77 compiler, i already installed c compiler, but calling g77 wouldn't work. Any h

Re: gcc cross-compiler for linux

2008-11-27 Thread Tijl Coosemans
On Wednesday 26 November 2008 18:48:39 Xavier Otazu wrote: > On Tue, 25 Nov 2008 23:31:10 +0100 Tijl Coosemans <[EMAIL PROTECTED]> wrote: >> From that error message I'd say you probably need to populate >> /usr/local/i386-linux/include with glibc and linux kernel headers. > > How can I populate it

Re: gcc cross-compiler for linux

2008-11-27 Thread Lowell Gilbert
Xavier Otazu <[EMAIL PROTECTED]> writes: > Thanks a lot for this link. Now I see that I need to use the > cross-gcc compiler. I've never done it; I just looked it up. I'm sure there's more information in the archives of the mailing lists, and you can always try to

Re: gcc cross-compiler for linux

2008-11-26 Thread Xavier Otazu
On Tue, 25 Nov 2008 23:31:10 +0100 Tijl Coosemans <[EMAIL PROTECTED]> wrote: > From that error message I'd say you probably need to populate > /usr/local/i386-linux/include with glibc and linux kernel headers. How can I populate it with them? Manually installing them in this directory? May be th

Re: gcc cross-compiler for linux

2008-11-25 Thread Tijl Coosemans
On Monday 24 November 2008 18:19:23 Xavier Otazu wrote: > When building, I get the following error message: > > /usr/ports/devel/cross-gcc/work/gcc-4.2.3/host-i386-portbld-freebsd7.1/gcc/xgcc > -B/usr/ports/devel/cross-gcc/work/gcc-4.2.3/host-i386-portbld-freebsd7.1/gcc/ > -B/usr/local/i386-linux/

Re: gcc cross-compiler for linux

2008-11-25 Thread Xavier Otazu
Lowell, Thanks a lot for this link. Now I see that I need to use the cross-gcc compiler. I am using Matlab inside the linux emulator, and I nedd to create some "mex" files from matlab. In order to create these mes files, matlab needs access to a gcc compiler that produces linux el

Re: gcc cross-compiler for linux

2008-11-25 Thread Lowell Gilbert
Xavier Otazu <[EMAIL PROTECTED]> writes: > I would like to compile a C++ code to be executed within the linux > emulator. http://wiki.freebsd.org/linux-xdev -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/

gcc cross-compiler for linux

2008-11-24 Thread Xavier Otazu
Hello, I would like to compile a C++ code to be executed within the linux emulator. I tried to install the cross-gcc port, but when building I always receive the same compilation error related to gthreads. I use the following options when compiling the cross-gcc port: make TGTARCH=i386 TGTABI

new compiler error?

2008-10-17 Thread Robert Richards
_PORT=gnash-0.8.2_2 UPGRADE_PORT_VER=0.8.2_2 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! graphics/gnash (gnash-0.8.2_2)(new compiler error) === What do I need to do to get this accomplished? I a

Re: qt4-moc-4.4.1 not compiling (compiler/system not supported)

2008-08-06 Thread Jakub Lach
Bugzilla from [EMAIL PROTECTED] wrote: > > please force update qmake4 and qt4-corelib ports: > > # portmaster devel/qmake4 devel/qt4-corelib > # portupgrade -f devel/qmake4 devel/qt4-corelib > I have forced packages one by one today. Thanks for help and updating UPDATING file. -- View this

Re: qt4-moc-4.4.1 not compiling (compiler/system not supported)

2008-08-05 Thread Jakub Lach
Bugzilla from [EMAIL PROTECTED] wrote: > > please force update qmake4 and qt4-corelib ports: > > # portmaster devel/qmake4 devel/qt4-corelib > # portupgrade -f devel/qmake4 devel/qt4-corelib > Still cannot upgrade qt4-corelib without qt4-moc>=4.4.1. -- View this message in context: http://

Re: qt4-moc-4.4.1 not compiling (compiler/system not supported)

2008-08-05 Thread Jakub Lach
Bugzilla from [EMAIL PROTECTED] wrote: > > please force update qmake4 and qt4-corelib ports: > > # portmaster devel/qmake4 devel/qt4-corelib > # portupgrade -f devel/qmake4 devel/qt4-corelib > > - - Martin > > I have already tried upgrading corelib (===> qt4-corelib-4.4.1 depends on pack

Re: qt4-moc-4.4.1 not compiling (compiler/system not supported)

2008-08-05 Thread Martin Wilke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Aug 05, 2008 at 04:51:17AM -0700, Jakub Lach wrote: > > This is the Qt/X11 Open Source Edition. > > >The specified system/compiler is not supported: > > > /usr/ports/devel/qt4-moc/work/qt-x11-opensource-s

Re: qt4-moc-4.4.1 not compiling (compiler/system not supported)

2008-08-05 Thread Jakub Lach
/usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.1/mkspecs/ is empty directory. -- View this message in context: http://www.nabble.com/qt4-moc-4.4.1-not-compiling-%28compiler-system-not-supported%29-tp18829459p18829813.html Sent from the freebsd-questions mailing list archive at Nabble.co

Re: qt4-moc-4.4.1 not compiling (compiler/system not supported)

2008-08-05 Thread Jakub Lach
g++ -v Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] FreeBSD 7.0-STABLE #0: Mon Jul 28 17:27:04 CEST 2008 -- View this message in context: http://www.nabble.com/qt4-moc-4.4.1-not

qt4-moc-4.4.1 not compiling (compiler/system not supported)

2008-08-05 Thread Jakub Lach
This is the Qt/X11 Open Source Edition. The specified system/compiler is not supported: /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.4.1/mkspecs/freebsd-g++ Please see the README file for a complete list. ===> Script "configure" failed unexpectedly. In RE

Re: C++ compiler

2008-07-30 Thread Kris Kennaway
Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: C++ compiler

2008-07-30 Thread Chris Hill
On Wed, 30 Jul 2008, [EMAIL PROTECTED] wrote: What is the URL where I can get gcc42 and is it easy to get or do I have to do devious things to eventually find it? # cd /usr/ports/lang/gcc42 # make install clean -- Chris Hill [EMAIL PROTECTED] ** [ Busy Ex

C++ compiler

2008-07-30 Thread [EMAIL PROTECTED]
What is the URL where I can get gcc42 and is it easy to get or do I have to do devious things to eventually find it? Are you Catholic and single? Click Here. http://thirdpartyoffers.juno.com/TGL2141/fc/Ioyw6i3oGxtfMGTyKQeDjl1IylH

Re: difficulty building a cross-compiler with a fresh install

2008-07-30 Thread Wyatt Neal
the cross compiler i'm looking to build is one to produce i386 compatable system v elf executables for freebsd. the default gcc installed with freebsd 6.1 produces i386 compatible freebsd elf executables, not system v. i've also found that i'm apparently building gcc improper

Re: difficulty building a cross-compiler with a fresh install

2008-07-30 Thread Roland Smith
On Tue, Jul 29, 2008 at 08:47:42PM -0400, Wyatt Neal wrote: > greetings, > > i've been running with a freebsd 6.1 system for a few days and i'm > having some oddities when trying to build a cross compiler on the > system. You don't say _what_ kind of cross-compile

Re: difficulty building a cross-compiler with a fresh install

2008-07-29 Thread Dan Nelson
In the last episode (Jul 29), Wyatt Neal said: > i've been running with a freebsd 6.1 system for a few days and i'm > having some oddities when trying to build a cross compiler on the > system. > > the first issue that shows is: > > In file included from a

difficulty building a cross-compiler with a fresh install

2008-07-29 Thread Wyatt Neal
greetings, i've been running with a freebsd 6.1 system for a few days and i'm having some oddities when trying to build a cross compiler on the system. the first issue that shows is: In file included from archive.c:132: sysdep.h:173:21: libintl.h: No such file or directory this come

A compiling issue with a new compiler

2008-07-12 Thread Unga
IR("/usr/lib"); Some relevant portions from the compiler spec file: *linker: collect2 *startfile_prefix_spec: /usr/lib/ *fbsd_dynamic_linker: /libexec/ld-elf.so.1 *link_command: %{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:%(linker) %l %{pie:-pie} %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n

Re: C compiler issue perhaps?

2008-03-17 Thread Derek Ragona
e you used. I would put some printf's in the code and see what and when that variable gets set to in actual running code. -Derek I understand it is waiting at a breakpoint in gdb. What I meant was put printf's in your code and run the program and look at the output. You can use f

  1   2   3   4   >