Re: lyx 1.3.4 doesn't compile on gentoo 2004-2 & gcc 3.3.3

2004-09-25 Thread alain . didierjean
Selon Angus Leeming <[EMAIL PROTECTED]>:

> [EMAIL PROTECTED] wrote:
>
> Don't cross post. It's poor netiquette. It also makes it more difficult for
> me to reply.

Sorry, Angus.
>
> > The subject says it all. What gives ?
>
> LyX 1.3.4 was released before gcc 3.4 but after gcc 3.3. I know that it
> does not compile with gcc 3.4. I would expect it to compile with gcc 3.3.
>
> > As I do need lyx 1.3.4, what would be the solution :
> > - a pre compiler version ?
> > - an older version ?
> > - a CVS version ?
>
> JMarc is getting ready to release the BRANCH_1_3_X branch of CVS as
> LyX 1.3.5. This does compile with gcc 3.4.
>
> $ cvs checkout -r BRANCH_1_3_X -d 13x lyx-devel

When will it happen. May be I'll just wait while updating gcc to 3.4.x
>
> > ../../../../boost/boost/regex/detail/regex_match.hpp:1684: internal
> > compiler error: Segmentation fault
>
> Compilers should never ICE. Yuck! I attach the changes to the Boost part of
> the sources that have been made since LyX 1.3.4 was released. Nothing in
> there strikes me as being relevant to your problem though. I'd complain
> loudly to gentoo.
>
Right, but they sometimes do. I'mgoing to send a bugreport...
> Angus
>




Re: lyx 1.3.4 doesn't compile on gentoo 2004-2 & gcc 3.3.3

2004-09-24 Thread Andre Poenitz
On Fri, Sep 24, 2004 at 10:06:46AM +0200, [EMAIL PROTECTED] wrote:
> The subject says it all. What gives ?
> As I do need lyx 1.3.4, what would be the solution :
> - a pre compiler version ?
> - an older version ?
> - a CVS version ?
> Please help, as I have a lot of work waiting for lyx to be avalaible.

Is this line 137 or so? If so, just change that line to 'return 0;' or
similar. It seems not to be used by LyX at all and this 'fix' has worked
for me for quite a while.

Andre'


Re: lyx 1.3.4 doesn't compile on gentoo 2004-2 & gcc 3.3.3

2004-09-24 Thread Angus Leeming
[EMAIL PROTECTED] wrote:

Don't cross post. It's poor netiquette. It also makes it more difficult for
me to reply.

> The subject says it all. What gives ?

LyX 1.3.4 was released before gcc 3.4 but after gcc 3.3. I know that it
does not compile with gcc 3.4. I would expect it to compile with gcc 3.3.

> As I do need lyx 1.3.4, what would be the solution :
> - a pre compiler version ?
> - an older version ?
> - a CVS version ?

JMarc is getting ready to release the BRANCH_1_3_X branch of CVS as
LyX 1.3.5. This does compile with gcc 3.4.

$ cvs checkout -r BRANCH_1_3_X -d 13x lyx-devel

> ../../../../boost/boost/regex/detail/regex_match.hpp:1684: internal
> compiler error: Segmentation fault

Compilers should never ICE. Yuck! I attach the changes to the Boost part of
the sources that have been made since LyX 1.3.4 was released. Nothing in
there strikes me as being relevant to your problem though. I'd complain
loudly to gentoo.

Angus
diff -p -N -r -U 4 -X excl.tmp 134/boost/boost/config/compiler/gcc.hpp 13x/boost/boost/config/compiler/gcc.hpp
--- 134/boost/boost/config/compiler/gcc.hpp	2003-05-27 13:45:50.0 +0100
+++ 13x/boost/boost/config/compiler/gcc.hpp	2004-05-03 13:01:17.0 +0100
@@ -48,10 +48,10 @@
 #if (__GNUC__ == 2) && (__GNUC_MINOR__ < 90)
 #  error "Compiler not configured - please reconfigure"
 #endif
 //
-// last known and checked version is 3.2:
-#if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 3))
+// last known and checked version is 3.4:
+#if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 4))
 #  if defined(BOOST_ASSERT_CONFIG)
 # error "Unknown compiler version - please run the configure tests and report the results"
 #  else
 # warning "Unknown compiler version - please run the configure tests and report the results"
diff -p -N -r -U 4 -X excl.tmp 134/boost/boost/config/platform/bsd.hpp 13x/boost/boost/config/platform/bsd.hpp
--- 134/boost/boost/config/platform/bsd.hpp	2002-05-22 00:39:55.0 +0100
+++ 13x/boost/boost/config/platform/bsd.hpp	2004-03-04 10:53:21.0 +
@@ -43,9 +43,11 @@
 
 //
 // The BSD  has macros only, no functions:
 //
-#define BOOST_NO_CTYPE_FUNCTIONS
+#if !defined(__OpenBSD__)
+#  define BOOST_NO_CTYPE_FUNCTIONS
+#endif
 
 //
 // thread API's not auto detected:
 //
diff -p -N -r -U 4 -X excl.tmp 134/boost/boost/format/format_implementation.hpp 13x/boost/boost/format/format_implementation.hpp
--- 134/boost/boost/format/format_implementation.hpp	2002-11-21 18:33:01.0 +
+++ 13x/boost/boost/format/format_implementation.hpp	2004-05-03 13:01:18.0 +0100
@@ -150,9 +150,9 @@ basic_format& basic_format
   // cancel the binding of ONE argument, and clear()
 {
 if(argN<1 || argN > num_args_ || bound_.size()==0 || !bound_[argN-1] )
   {
-	if( exceptions() & out_of_range_bit )
+	if( exceptions() & io::out_of_range_bit )
 	  boost::throw_exception(io::out_of_range()); // arg not in range.
 	else return *this;
   }
 bound_[argN-1]=false;
diff -p -N -r -U 4 -X excl.tmp 134/boost/ChangeLog 13x/boost/ChangeLog
--- 134/boost/ChangeLog	2004-02-03 13:19:02.0 +
+++ 13x/boost/ChangeLog	2004-05-03 13:01:15.0 +0100
@@ -1,4 +1,18 @@
+2004-04-29  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
+
+	* boost/format/format_implementation.hpp: 
+	* boost/config/compiler/gcc.hpp: fix compilation with gcc 3.4
+
+2004-03-26  Angus Leeming  <[EMAIL PROTECTED]>
+
+	* libs/regex/Makefile.am: silence automake 1.7 warning by
+	removing trailing backslash from the final line of the file.
+
+2004-03-01  Zvezdan Petkovic  <[EMAIL PROTECTED]>
+
+	* boost/config/platform/bsd.hpp: config fix for OpenBSD
+
 2004-02-03  Angus Leeming  <[EMAIL PROTECTED]>
 
 	* boost/detail/limits.hpp: add support for Itanium machines.
 
diff -p -N -r -U 4 -X excl.tmp 134/boost/libs/regex/src/Makefile.am 13x/boost/libs/regex/src/Makefile.am
--- 134/boost/libs/regex/src/Makefile.am	2002-11-07 15:24:06.0 +
+++ 13x/boost/libs/regex/src/Makefile.am	2004-04-07 09:33:25.0 +0100
@@ -18,5 +18,5 @@ libboostregex_la_SOURCES = \
 
 #	posix_api.cpp \
 #	wide_posix_api.cpp \
 #	regex_debug.cpp
-#	winstances.cpp \
+#	winstances.cpp


lyx 1.3.4 doesn't compile on gentoo 2004-2 & gcc 3.3.3

2004-09-24 Thread alain . didierjean
The subject says it all. What gives ?
As I do need lyx 1.3.4, what would be the solution :
- a pre compiler version ?
- an older version ?
- a CVS version ?
Please help, as I have a lot of work waiting for lyx to be avalaible.

Folloving, gcc and emerge output :

--


g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -isystem
/usr/X11R6/include -O2 -march=i686 -fomit-frame-pointer -pipe -c
regex_synch.cpp -MT regex_synch.lo -MD -MP -MF .deps/regex_synch.TPlo
echo timestamp > w32_regex_traits.lo
echo timestamp > regex_synch.lo
../../../../boost/boost/regex/detail/regex_match.hpp: In function `unsigned int
   boost::re_detail::reg_grep2(Predicate, I, I, const
   boost::reg_expression&, unsigned int, A2) [with
   Predicate =
  
boost::re_detail::merge_out_predicate,
   __gnu_cxx::__normal_iterator, std::allocator > >, char,
   std::allocator, boost::regex_traits >, I =
   __gnu_cxx::__normal_iterator, std::allocator > >, charT = char, traits =
   boost::regex_traits, A = std::allocator, A2 =
   std::allocator]':
../../../../boost/boost/regex/detail/regex_match.hpp:1684: internal compiler
error: Segmentation
   fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[4]: *** [cregex.lo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/lyx-1.3.4/work/lyx-1.3.4/boost/libs/regex/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/lyx-1.3.4/work/lyx-1.3.4/boost/libs/regex'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/lyx-1.3.4/work/lyx-1.3.4/boost/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lyx-1.3.4/work/lyx-1.3.4/boost'
make: *** [all-recursive] Error 1

!!! ERROR: app-office/lyx-1.3.4 failed.
!!! Function src_compile, Line 74, Exitcode 2
!!! emake failed

--

Alain DIDIERJEAN

Obviously, the Lord shows the President the way...
Bush lit ?