Re: firefox 13.0,1 needs lang/gcc46 -- to RUN?!

2012-06-11 Thread Gerald Pfeifer
On Sat, 9 Jun 2012, Doug Barton wrote:
 In an ideal world, we would have separate packages for the runtime libs
 and the build tools so that packages could be more portable, but I would
 imagine that would be a lot of work.

I looked into that last year and found that the FreeBSD ports
infrastructure was not exactly helpful.  Ideally I would want
something like gcc46-runtime and gcc46-java and gcc46 itself,
where -runtime is a hard dependency for gcc46 and -java optional.

Short of building lang/gcc46 a couple of times via slave ports and 
packaging different aspects by virtue of different slave ports, or
having gcc46 also include the contents of gcc46-runtime, the introduction 
of a gcc46-DONT-USE-JUST-USED-FOR-SUBPACKAGES dummy port was the only
idea I came up with.  None of the three approaches really convinced me.

On Sun, 10 Jun 2012, Baptiste Daroussin wrote:
 Yes that would be a lot of but it is the way we are doing. the upcoming 
 stagedir will open the door to easy package splitting and then allow 
 easily to split gcc into something like gcc-libs and gcc package or 
 something like that.

Lovely.  Looking forward to that!

(Chris also indicated he had an idea, let's see.  Whatever works. ;-)

Gerald
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: firefox 13.0,1 needs lang/gcc46 -- to RUN?!

2012-06-10 Thread Alan Hicks

On 08/06/2012 15:12, Alan Hicks wrote:

On 08/06/2012 11:09, Heino Tiedemann wrote:

Maciej Suszkomac...@suszko.eu wrote:


Heino Tiedemannrotkaps_spam_t...@gmx.de wrote:


What ist the meaning of

,
| Use GCC 4.6 to fix build on newer FreeBSD versions
`


What meians newer FreeBSD versions here?
http://www.freshports.org/www/firefox/


And what means

,
| Don't depend on GCC 4.6 if clang is used
`


How an I use clang?
http://www.freshports.org/www/firefox/



I just simply built www/firefox with those flags to make:
CC=clang CXX=clang++ CPP=clang-cpp

If you use portupgrade, this should work:
portupgrade -m 'CC=clang CXX=clang++ CPP=clang-cpp' firefox\*


does not work :(

clang++ -o nsUTF8UtilsSSE2.o -c -fvisibility=hidden
-DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNlude
-I../../../dist/include/nsprpub -I/usr/local/include
-I/usr/local/include/nspr -I/usr -I/usr/local/include -fno-rtti
-Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtid-offsetof
-Wno-variadic-macros -Werror=return-type -Wno-unknown-warning-option
-Wno-retur-std=gnu++0x -ffunction-sections -fdata-sections -pipe
-DNDEBUG -DTRIMMED -fno-omit-frame-/../../mozilla-config.h
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8
In file included from
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8UtilsSSE2.cpp:3:

In file included from /usr/include/clang/3.0/emmintrin.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error MMX instruction
set not enabled
#error MMX instruction set not enabled
^
In file included from
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8UtilsSSE2.cpp:3:

In file included from /usr/include/clang/3.0/emmintrin.h:31:
/usr/include/clang/3.0/xmmintrin.h:417:19: error: unknown type name
'__m64'
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
^
/usr/include/clang/3.0/xmmintrin.h:417:25: error: expected unqualified-id
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
^
In file included from
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8UtilsSSE2.cpp:3:

/usr/include/clang/3.0/emmintrin.h:42:19: error: unknown type name
'__m128d'
static __inline__ __m128d __attribute__((__always_inline__, __nodebug__))
^
/usr/include/clang/3.0/emmintrin.h:42:27: error: expected unqualified-id
static __inline__ __m128d __attribute__((__always_inline__, __nodebug__))
^
In file included from
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8UtilsSSE2.cpp:4:

../../../dist/include/nsUTF8Utils.h:90:10: error: use of undeclared
identifier 'UTF8traits'
if ( UTF8traits::isASCII(c) )
^
../../../dist/include/nsUTF8Utils.h:146:10: error: use of undeclared
identifier 'UTF8traits'
if ( UTF8traits::is2byte(c) )
^
../../../dist/include/nsUTF8Utils.h:152:15: error: use of undeclared
identifier 'UTF8traits'
else if ( UTF8traits::is3byte(c) )
^
../../../dist/include/nsUTF8Utils.h:158:15: error: use of undeclared
identifier 'UTF8traits'
else if ( UTF8traits::is4byte(c) )
^
../../../dist/include/nsUTF8Utils.h:164:15: error: use of undeclared
identifier 'UTF8traits'
else if ( UTF8traits::is5byte(c) )
^
../../../dist/include/nsUTF8Utils.h:170:15: error: use of undeclared
identifier 'UTF8traits'
else if ( UTF8traits::is6byte(c) )
^
../../../dist/include/nsUTF8Utils.h:186:10: error: use of undeclared
identifier 'UTF8traits'
if ( UTF8traits::isInSeq(c) )
^
../../../dist/include/nsUTF8Utils.h:393:18: error: use of undeclared
identifier 'UTF8traits'
if ( UTF8traits::isASCII(*p) )
^
../../../dist/include/nsUTF8Utils.h:395:23: error: use of undeclared
identifier 'UTF8traits'
else if ( UTF8traits::is2byte(*p) )
^
../../../dist/include/nsUTF8Utils.h:397:23: error: use of undeclared
identifier 'UTF8traits'
else if ( UTF8traits::is3byte(*p) )
^
../../../dist/include/nsUTF8Utils.h:399:23: error: use of undeclared
identifier 'UTF8traits'
else if ( UTF8traits::is4byte(*p) ) {
^
../../../dist/include/nsUTF8Utils.h:442:23: error: use of undeclared
identifier 'UTF8traits'
else if ( UTF8traits::is5byte(*p) )
^
../../../dist/include/nsUTF8Utils.h:444:23: error: use of undeclared
identifier 'UTF8traits'
else if ( UTF8traits::is6byte(*p) )
^
../../../dist/include/nsUTF8Utils.h:686:24: error: no member named
'supports_sse2' in namespace 'mozilla'
if (mozilla::supports_sse2())
~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[5]: *** [nsUTF8UtilsSSE2.o] Error 1
gmake[5]: Leaving directory
`/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory
`/usr/ports/www/firefox/work/mozilla-release/xpcom/string'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory
`/usr/ports/www/firefox/work/mozilla-release/xpcom'
gmake[2]: *** [libs_tier_platform] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla-release'
gmake[1]: *** 

Re: firefox 13.0,1 needs lang/gcc46 -- to RUN?!

2012-06-10 Thread Baptiste Daroussin
On Sat, Jun 09, 2012 at 08:27:11PM -0700, Doug Barton wrote:
 On 06/06/2012 12:18, Heino Tiedemann wrote:
  Hi,
  
  
  
  Why this ports needs his compiler to RUN?!
  
  
  firefox 13.0,1
 
 It's very common for binaries built with gcc to link to libgcc, and/or
 libstdc++:
 
 ldd firefox-bin  | grep gcc
   libstdc++.so.6 = /usr/local/lib/gcc46/libstdc++.so.6 (0x802b19000)
   libgcc_s.so.1 = /usr/local/lib/gcc46/libgcc_s.so.1 (0x8033a5000)
 
 In an ideal world, we would have separate packages for the runtime libs
 and the build tools so that packages could be more portable, but I would
 imagine that would be a lot of work.
 
 Doug

Yes that would be a lot of but it is the way we are doing. the upcoming stagedir
will open the door to easy package splitting and then allow easily to split gcc
into something like gcc-libs and gcc package or something like that.

regards,
Bapt


pgpgPjlR3EHvk.pgp
Description: PGP signature


Re: firefox 13.0,1 needs lang/gcc46 -- to RUN?!

2012-06-09 Thread Doug Barton
On 06/06/2012 12:18, Heino Tiedemann wrote:
 Hi,
 
 
 
 Why this ports needs his compiler to RUN?!
 
 
 firefox 13.0,1

It's very common for binaries built with gcc to link to libgcc, and/or
libstdc++:

ldd firefox-bin  | grep gcc
libstdc++.so.6 = /usr/local/lib/gcc46/libstdc++.so.6 (0x802b19000)
libgcc_s.so.1 = /usr/local/lib/gcc46/libgcc_s.so.1 (0x8033a5000)

In an ideal world, we would have separate packages for the runtime libs
and the build tools so that packages could be more portable, but I would
imagine that would be a lot of work.

Doug

-- 

This .signature sanitized for your protection


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: firefox 13.0,1 needs lang/gcc46 -- to RUN?!

2012-06-08 Thread Maciej Suszko
Heino Tiedemann rotkaps_spam_t...@gmx.de wrote:
 
 What ist the meaning of
 
 ,
 | Use GCC 4.6 to fix build on newer FreeBSD versions
 `
 
 
 What meians newer FreeBSD versions here?
 http://www.freshports.org/www/firefox/
 
 
 And what means
 
 ,
 | Don't depend on GCC 4.6 if clang is used
 `
 
 
 How an I use clang?
 http://www.freshports.org/www/firefox/


I just simply built www/firefox with those flags to make:
CC=clang CXX=clang++ CPP=clang-cpp

If you use portupgrade, this should work:
portupgrade -m 'CC=clang CXX=clang++ CPP=clang-cpp' firefox\*

...of course if you have clang in your base system.

#v+
tlhscd@arsenic:/ $ uname -mv
FreeBSD 9.0-STABLE #1 r236436: Sat Jun  2 19:14:50 CEST 2012 
r...@arsenic.lan:/usr/obj/usr/src/sys/ARSENIC  amd64
tlhscd@arsenic:/ $ firefox --version
Mozilla Firefox 13.0
#v-

-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


Re: firefox 13.0,1 needs lang/gcc46 -- to RUN?!

2012-06-08 Thread Heino Tiedemann
Maciej Suszko mac...@suszko.eu wrote:

 Heino Tiedemann rotkaps_spam_t...@gmx.de wrote:
 
 What ist the meaning of
 
 ,
 | Use GCC 4.6 to fix build on newer FreeBSD versions
 `
 
 
 What meians newer FreeBSD versions here?
 http://www.freshports.org/www/firefox/
 
 
 And what means
 
 ,
 | Don't depend on GCC 4.6 if clang is used
 `
 
 
 How an I use clang?
 http://www.freshports.org/www/firefox/


 I just simply built www/firefox with those flags to make:
 CC=clang CXX=clang++ CPP=clang-cpp

 If you use portupgrade, this should work:
 portupgrade -m 'CC=clang CXX=clang++ CPP=clang-cpp' firefox\*

does not work :(

clang++ -o nsUTF8UtilsSSE2.o -c  -fvisibility=hidden -DMOZ_GLUE_IN_PROGRAM 
-DMOZILLA_INTERNlude -I../../../dist/include/nsprpub -I/usr/local/include  
-I/usr/local/include/nspr -I/usr  -I/usr/local/include -fno-rtti 
-Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtid-offsetof 
-Wno-variadic-macros -Werror=return-type -Wno-unknown-warning-option 
-Wno-retur-std=gnu++0x -ffunction-sections -fdata-sections -pipe  -DNDEBUG 
-DTRIMMED -fno-omit-frame-/../../mozilla-config.h 
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8
In file included from 
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8UtilsSSE2.cpp:3:
In file included from /usr/include/clang/3.0/emmintrin.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error MMX instruction set not 
enabled
#error MMX instruction set not enabled
 ^
In file included from 
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8UtilsSSE2.cpp:3:
 
In file included from /usr/include/clang/3.0/emmintrin.h:31:
/usr/include/clang/3.0/xmmintrin.h:417:19: error: unknown type name '__m64'
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
  ^
/usr/include/clang/3.0/xmmintrin.h:417:25: error: expected unqualified-id   
  
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
^
In file included from 
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8UtilsSSE2.cpp:3:
 
/usr/include/clang/3.0/emmintrin.h:42:19: error: unknown type name '__m128d'
static __inline__ __m128d __attribute__((__always_inline__, __nodebug__))
  ^
/usr/include/clang/3.0/emmintrin.h:42:27: error: expected unqualified-id
static __inline__ __m128d __attribute__((__always_inline__, __nodebug__))
  ^
In file included from 
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8UtilsSSE2.cpp:4:
../../../dist/include/nsUTF8Utils.h:90:10: error: use of undeclared identifier 
'UTF8traits'
if ( UTF8traits::isASCII(c) )
 ^
../../../dist/include/nsUTF8Utils.h:146:10: error: use of undeclared identifier 
'UTF8traits'
if ( UTF8traits::is2byte(c) )
 ^
../../../dist/include/nsUTF8Utils.h:152:15: error: use of undeclared identifier 
'UTF8traits'
else if ( UTF8traits::is3byte(c) )
  ^
../../../dist/include/nsUTF8Utils.h:158:15: error: use of undeclared identifier 
'UTF8traits'
else if ( UTF8traits::is4byte(c) )
  ^
../../../dist/include/nsUTF8Utils.h:164:15: error: use of undeclared identifier 
'UTF8traits'
else if ( UTF8traits::is5byte(c) )
  ^
../../../dist/include/nsUTF8Utils.h:170:15: error: use of undeclared identifier 
'UTF8traits'
else if ( UTF8traits::is6byte(c) )
  ^
../../../dist/include/nsUTF8Utils.h:186:10: error: use of undeclared identifier 
'UTF8traits'
if ( UTF8traits::isInSeq(c) )
 ^
../../../dist/include/nsUTF8Utils.h:393:18: error: use of undeclared identifier 
'UTF8traits'
if ( UTF8traits::isASCII(*p) )
 ^
../../../dist/include/nsUTF8Utils.h:395:23: error: use of undeclared identifier 
'UTF8traits'
else if ( UTF8traits::is2byte(*p) )
  ^
../../../dist/include/nsUTF8Utils.h:397:23: error: use of undeclared identifier 
'UTF8traits'
else if ( UTF8traits::is3byte(*p) )
  ^
../../../dist/include/nsUTF8Utils.h:399:23: error: use of undeclared identifier 
'UTF8traits'
else if ( UTF8traits::is4byte(*p) ) {
  ^
../../../dist/include/nsUTF8Utils.h:442:23: error: use of undeclared identifier 
'UTF8traits'
else if ( UTF8traits::is5byte(*p) )
  ^
../../../dist/include/nsUTF8Utils.h:444:23: error: use of undeclared identifier 
'UTF8traits'
else if ( UTF8traits::is6byte(*p) )
  ^
../../../dist/include/nsUTF8Utils.h:686:24: error: no member named 
'supports_sse2' in namespace 'mozilla'
  if (mozilla::supports_sse2())
  ~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[5]: *** [nsUTF8UtilsSSE2.o] Error 1
gmake[5]: Leaving directory 

Re: firefox 13.0,1 needs lang/gcc46 -- to RUN?!

2012-06-08 Thread Niclas Zeising
When compiling with clang, try adding -Qunused-arguments to the compiler 
flags.

Something like


# Add -Qunused-arguments to CFLAGS if clang/clang++ is used.
.if ${CC:T:Mclang} == clang || ${CXX:T:Mclang++} == clang++
CFLAGS+=-Qunused-arguments
.endif

in /etc/make.conf should do it.
Regards!
--
Niclas Zeising
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: firefox 13.0,1 needs lang/gcc46 -- to RUN?!

2012-06-08 Thread Alan Hicks

On 08/06/2012 11:09, Heino Tiedemann wrote:

Maciej Suszkomac...@suszko.eu  wrote:


Heino Tiedemannrotkaps_spam_t...@gmx.de  wrote:


What ist the meaning of

,
| Use GCC 4.6 to fix build on newer FreeBSD versions
`


What meians newer FreeBSD versions here?
http://www.freshports.org/www/firefox/


And what means

,
| Don't depend on GCC 4.6 if clang is used
`


How an I use clang?
http://www.freshports.org/www/firefox/



I just simply built www/firefox with those flags to make:
CC=clang CXX=clang++ CPP=clang-cpp

If you use portupgrade, this should work:
portupgrade -m 'CC=clang CXX=clang++ CPP=clang-cpp' firefox\*


does not work :(

clang++ -o nsUTF8UtilsSSE2.o -c  -fvisibility=hidden -DMOZ_GLUE_IN_PROGRAM 
-DMOZILLA_INTERNlude -I../../../dist/include/nsprpub -I/usr/local/include  
-I/usr/local/include/nspr -I/usr  -I/usr/local/include -fno-rtti 
-Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtid-offsetof 
-Wno-variadic-macros -Werror=return-type -Wno-unknown-warning-option 
-Wno-retur-std=gnu++0x -ffunction-sections -fdata-sections -pipe  -DNDEBUG 
-DTRIMMED -fno-omit-frame-/../../mozilla-config.h 
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8
In file included from 
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8UtilsSSE2.cpp:3:
In file included from /usr/include/clang/3.0/emmintrin.h:31:
In file included from /usr/include/clang/3.0/xmmintrin.h:31:
/usr/include/clang/3.0/mmintrin.h:28:2: error: #error MMX instruction set not 
enabled
#error MMX instruction set not enabled
  ^
In file included from 
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8UtilsSSE2.cpp:3:
In file included from /usr/include/clang/3.0/emmintrin.h:31:
/usr/include/clang/3.0/xmmintrin.h:417:19: error: unknown type name '__m64'
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
   ^
/usr/include/clang/3.0/xmmintrin.h:417:25: error: expected unqualified-id
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
 ^
In file included from 
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8UtilsSSE2.cpp:3:
/usr/include/clang/3.0/emmintrin.h:42:19: error: unknown type name '__m128d'
static __inline__ __m128d __attribute__((__always_inline__, __nodebug__))
   ^
/usr/include/clang/3.0/emmintrin.h:42:27: error: expected unqualified-id
static __inline__ __m128d __attribute__((__always_inline__, __nodebug__))
   ^
In file included from 
/usr/ports/www/firefox/work/mozilla-release/xpcom/string/src/nsUTF8UtilsSSE2.cpp:4:
../../../dist/include/nsUTF8Utils.h:90:10: error: use of undeclared identifier 
'UTF8traits'
 if ( UTF8traits::isASCII(c) )
  ^
../../../dist/include/nsUTF8Utils.h:146:10: error: use of undeclared identifier 
'UTF8traits'
 if ( UTF8traits::is2byte(c) )
  ^
../../../dist/include/nsUTF8Utils.h:152:15: error: use of undeclared identifier 
'UTF8traits'
 else if ( UTF8traits::is3byte(c) )
   ^
../../../dist/include/nsUTF8Utils.h:158:15: error: use of undeclared identifier 
'UTF8traits'
 else if ( UTF8traits::is4byte(c) )
   ^
../../../dist/include/nsUTF8Utils.h:164:15: error: use of undeclared identifier 
'UTF8traits'
 else if ( UTF8traits::is5byte(c) )
   ^
../../../dist/include/nsUTF8Utils.h:170:15: error: use of undeclared identifier 
'UTF8traits'
 else if ( UTF8traits::is6byte(c) )
   ^
../../../dist/include/nsUTF8Utils.h:186:10: error: use of undeclared identifier 
'UTF8traits'
 if ( UTF8traits::isInSeq(c) )
  ^
../../../dist/include/nsUTF8Utils.h:393:18: error: use of undeclared identifier 
'UTF8traits'
 if ( UTF8traits::isASCII(*p) )
  ^
../../../dist/include/nsUTF8Utils.h:395:23: error: use of undeclared identifier 
'UTF8traits'
 else if ( UTF8traits::is2byte(*p) )
   ^
../../../dist/include/nsUTF8Utils.h:397:23: error: use of undeclared identifier 
'UTF8traits'
 else if ( UTF8traits::is3byte(*p) )
   ^
../../../dist/include/nsUTF8Utils.h:399:23: error: use of undeclared identifier 
'UTF8traits'
 else if ( UTF8traits::is4byte(*p) ) {
   ^
../../../dist/include/nsUTF8Utils.h:442:23: error: use of undeclared identifier 
'UTF8traits'
 else if ( UTF8traits::is5byte(*p) )
   ^
../../../dist/include/nsUTF8Utils.h:444:23: error: use of undeclared identifier 
'UTF8traits'
 else if ( UTF8traits::is6byte(*p) )
   ^
../../../dist/include/nsUTF8Utils.h:686:24: error: no member named 
'supports_sse2' in namespace 'mozilla'
   if (mozilla::supports_sse2())
   ~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[5]: *** [nsUTF8UtilsSSE2.o] Error 1
gmake[5]: Leaving 

Re: firefox 13.0,1 needs lang/gcc46 -- to RUN?!

2012-06-07 Thread CyberLeo Kitsana
On 06/06/2012 02:18 PM, Heino Tiedemann wrote:
 Hi,
 
 Why this ports needs his compiler to RUN?!
 
 firefox 13.0,1
 
snip
 
 Required To Run: archivers/zip, lang/gcc46,...

Just a shot in the dark for lang/gcc46, I'd say it's because Firefox
dynamically links to a newer version of libgcc that is only available
when it is installed.

Its runtime dependency on archivers/zip can be explained by the fact
that Firefox now packs its hundreds of GUI files (chrome) into a giant
zip file (named omni.ja), for which it requires a zip library to read.

You're welcome to tweak the Makefile to remove the runtime dependency
and test it to see how badly it breaks; I've done the same to keep Perl
and Python off my embedded system images when installing glib et alia.
Glib only requires the languages for scripts used when compiling
software, which is unlikely to occur on an embedded system.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
cyber...@cyberleo.net

Furry Peace! - http://.fur.com/peace/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: firefox 13.0,1 needs lang/gcc46 -- to RUN?!

2012-06-07 Thread Heino Tiedemann
CyberLeo Kitsana cyber...@cyberleo.net wrote:

 On 06/06/2012 02:18 PM, Heino Tiedemann wrote:
 Hi,
 
 Why this ports needs his compiler to RUN?!
 
 firefox 13.0,1
 
 snip
 
 Required To Run: archivers/zip, lang/gcc46,...

 Just a shot in the dark for lang/gcc46, I'd say it's because Firefox
 dynamically links to a newer version of libgcc that is only available
 when it is installed.

 Its runtime dependency on archivers/zip can be explained by the fact
 that Firefox now packs its hundreds of GUI files (chrome) into a giant
 zip file (named omni.ja), for which it requires a zip library to read.

 You're welcome to tweak the Makefile to remove the runtime dependency
 and test it to see how badly it breaks; I've done the same to keep Perl
 and Python off my embedded system images when installing glib et alia.
 Glib only requires the languages for scripts used when compiling
 software, which is unlikely to occur on an embedded system.


What ist the meaning of

,
| Use GCC 4.6 to fix build on newer FreeBSD versions
`


What meians newer FreeBSD versions here?
http://www.freshports.org/www/firefox/


And what means

,
| Don't depend on GCC 4.6 if clang is used
`


How an I use clang?
http://www.freshports.org/www/firefox/

Heino





___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


firefox 13.0,1 needs lang/gcc46 -- to RUN?!

2012-06-06 Thread Heino Tiedemann
Hi,



Why this ports needs his compiler to RUN?!


firefox 13.0,1

Required To Build: devel/nspr, graphics/cairo, archivers/unzip,
archivers/zip, devel/yasm, devel/gmake, lang/gcc46, devel/binutils,
x11/printproto, x11/libSM, x11-toolkits/libXt, x11/libXi, x11/libXext,
x11/libX11, x11/libXinerama, x11/libICE, x11/xproto, lang/perl5.8,
devel/autoconf213, textproc/intltool, devel/pkg-config,
devel/desktop-file-utils


Required To Run: archivers/zip, lang/gcc46,...



Heino

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org