OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

2 Pages V  < 1 2  
Reply to this topicStart new topic
> Help Me Put My Old Z To Use Again!
ArchiMark
post Feb 24 2014, 02:05 PM
Post #16





Group: Members
Posts: 1,036
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Between your build experiences and mine recently (see other thread...), it seems like building on the Zaurus is a PITA.....timewise and otherwise....

Would think it would be much more practical if we could build on a faster computer (which usually has a larger display too for looking at text about build process...) and then transfer resulting build to the Zaurus to use.

Assume this would require setting up a cross-compiler on computer, right?....

I know there's the other method using NFS server, but that would require having Zaurus connected to other computer all the time during build process, correct?

If possible, I'd like to avoid having to have Zaurus running all the time....

Meanwhile, look forward to additional updates on your build experiences.....

Thanks!

Mark
Go to the top of the page
 
+Quote Post
TronDD
post Feb 24 2014, 05:18 PM
Post #17





Group: Members
Posts: 55
Joined: 6-January 05
Member No.: 6,137



QUOTE(ArchiMark @ Feb 24 2014, 10:05 PM) *
Assume this would require setting up a cross-compiler on computer, right?....

I know there's the other method using NFS server, but that would require having Zaurus connected to other computer all the time during build process, correct?


Yes. I've never done that for the Z nor in OBSD. Search the forum, someone must have done it.

Yes. An NFS server only gives you, essentially, an external hard drive to build on. It still compiles with the Z's cpu and memory.

Tim.
Go to the top of the page
 
+Quote Post
ArchiMark
post Feb 24 2014, 06:49 PM
Post #18





Group: Members
Posts: 1,036
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



QUOTE(TronDD @ Feb 24 2014, 05:18 PM) *
QUOTE(ArchiMark @ Feb 24 2014, 10:05 PM) *
Assume this would require setting up a cross-compiler on computer, right?....

I know there's the other method using NFS server, but that would require having Zaurus connected to other computer all the time during build process, correct?


Yes. I've never done that for the Z nor in OBSD. Search the forum, someone must have done it.

Yes. An NFS server only gives you, essentially, an external hard drive to build on. It still compiles with the Z's cpu and memory.

Tim.



Thanks, will check it out....

Mark
Go to the top of the page
 
+Quote Post
TronDD
post Feb 25 2014, 04:55 PM
Post #19





Group: Members
Posts: 55
Joined: 6-January 05
Member No.: 6,137



Ok, tried skipping the cmake build by installing the generic arm package. Seemed to go fine until I tried to build graphite2. It builds with cmake and gets a segfault trying to run the install target. (It's built, I just need to install it! Arg!)

I am assuming something it's right with arm cmake on the Z so I am trying to get it to compile natively. The only problem compiling it (so far) is a bit of code that tries to find the current path and the executable it just built. The default behavior was returning an empty string for the path. I commented out some APPLE defines so it will run that code (hey, it's BSD based, so should be relevant) which does pretty much the exact same thing, and it works, but is one directory level short. Something do to with where the command was initiated from versus where ports builds to, I guess.

It takes a good 20 minutes to build this one file so it's tedious to debug.

Tim.
Go to the top of the page
 
+Quote Post
ArchiMark
post Feb 25 2014, 07:31 PM
Post #20





Group: Members
Posts: 1,036
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Yep, had cmake issues too....

Let me know how it goes....

Go to the top of the page
 
+Quote Post
TronDD
post Feb 27 2014, 06:20 PM
Post #21





Group: Members
Posts: 55
Joined: 6-January 05
Member No.: 6,137



I found a bug in cmake, fix it, the build started seg faulting. sad.gif Undid the fix, it continued to seg fault. Had to blow it all away and start the build over to see if the crash goes away. A full build, to the point it hits the bug, is 24 hour or more. sad.gif I don't even know if there will be other bugs after this one or if it'll just seg fault like the arm package.

Tim.
Go to the top of the page
 
+Quote Post
TronDD
post Feb 28 2014, 07:14 PM
Post #22





Group: Members
Posts: 55
Joined: 6-January 05
Member No.: 6,137



So I shortcutted around this cmake issue by simply returning what I wanted out of the function and now get a crash deleting a map or vectors or something that's beyond me. sad.gif I think I might have to give up.

Last ditch effort is to pull the latest cmake release and build it and see what happens.

Tim.
Go to the top of the page
 
+Quote Post
ArchiMark
post Mar 2 2014, 10:07 AM
Post #23





Group: Members
Posts: 1,036
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



QUOTE(TronDD @ Feb 28 2014, 07:14 PM) *
So I shortcutted around this cmake issue by simply returning what I wanted out of the function and now get a crash deleting a map or vectors or something that's beyond me. sad.gif I think I might have to give up.

Last ditch effort is to pull the latest cmake release and build it and see what happens.

Tim.



Too bad about cmake.....wonder why this is such a problem....

Mark
Go to the top of the page
 
+Quote Post
TronDD
post Mar 2 2014, 05:55 PM
Post #24





Group: Members
Posts: 55
Joined: 6-January 05
Member No.: 6,137



Ports mailing list to the rescue (I hope).

http://article.gmane.org/gmane.os.openbsd.ports/63302

I accidentally ran 'make clean=depends' on a port that required cmake so it blew away all my hackery. sad.gif I've applied the patches from the mailing list, but it'll be a day or so to recompile, then I might still have to fix the original bug I was working on as I didn't see anything about that in the mailing list discussion.

Tim.
Go to the top of the page
 
+Quote Post
ArchiMark
post Mar 3 2014, 08:09 AM
Post #25





Group: Members
Posts: 1,036
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



From reading the posts at http://thread.gmane.org/gmane.os.openbsd.p...270/focus=63302 it looks like there is a workaround?.....

From: Stuart Henderson <sthen <at> openbsd.org>
Subject: Re: cmake diff to disable elf parser and ninja (Was: arm port build failures)
Newsgroups: gmane.os.openbsd.ports
Date: 2013-08-21 22:32:58 GMT (27 weeks, 4 days, 17 hours and 34 minutes ago)

On 2013/08/21 15:03, Stuart Henderson wrote:
> On 2013/08/21 15:30, David Coppa wrote:
> > On Tue, 20 Aug 2013, Stuart Henderson wrote:
> >
> > > On 2013/08/20 08:25, Stuart Henderson wrote:
> > > > On 2013/08/20 08:50, David Coppa wrote:
> > > > > On Mon, Aug 19, 2013 at 11:50 PM, Stuart Henderson <sthen <at> openbsd.org> wrote:
> > > > >
> > > > > > these ones all use cmake which has a common segfault on arm since
> > > > > > the move to enabling the elf parser.
> >
> > Comments on the following diff?
>
> In the absence of any better ideas, this makes sense to me, I'll give it a try.

yep, that works.

> > #0 cmELF (this=0xbfff4674, fname=0x4337438c "/usr/lib/libz.so.4.1")
> > at basic_ios.h:124
> > 124 { return _M_streambuf_state; }
>
> I get the impression this is something which shouldn't be segfaulting though..

as a workaround: OK.


Go to the top of the page
 
+Quote Post
ArchiMark
post Mar 3 2014, 08:19 AM
Post #26





Group: Members
Posts: 1,036
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Still haven't figured out how to get Dillo to show URL bar, and zoom out to see more of page....or get horizontal scrollbar to do this.....

Meanwhile, was looking through older threads here and found this post from 2007:

QUOTE(mathemajikian @ Aug 6 2007, 04:16 AM) *


Here's the latest OpenBSD Mozilla-firefox package:

Mozilla-firefox-2.0.0.5.tgz

along with the development sources: (optional download)

Mozilla-firefox-devel-2.0.0.5.tgz

All Mozilla-firefox sources were compiled with the following flags:

CFLAGS
="-mcpu=xscale -mtune=xscale -O2 -pipe"
CXXFLAGS="-mcpu=xscale -mtune=xscale -O2 -pipe"

The Java and Flash plug-ins I've previously compiled work flawlessly with this updated version.



Do you think we can get firefox built again?.....

Know it would be slower than Dillo.....
Go to the top of the page
 
+Quote Post
TronDD
post Mar 23 2014, 07:53 AM
Post #27





Group: Members
Posts: 55
Joined: 6-January 05
Member No.: 6,137



I was able to build glib2 natively with the patches from here:
http://mail-index.netbsd.org/pkgsrc-bugs/2.../msg051683.html

I'm going to reconstruct my environment from there in case the generic arm package was causing some of my problems.

Tim.
Go to the top of the page
 
+Quote Post
wario
post Apr 12 2014, 12:42 AM
Post #28





Group: Members
Posts: 21
Joined: 15-December 03
From: Helvetia
Member No.: 1,191



No way! I'm wanting to put my z back to use too.

Of course I forgot my root password too. Can you remind me to reset that?

Thanks.

Edit: I am using cacko "katherine".
Go to the top of the page
 
+Quote Post
TronDD
post Apr 13 2014, 06:19 PM
Post #29





Group: Members
Posts: 55
Joined: 6-January 05
Member No.: 6,137



QUOTE(wario @ Apr 12 2014, 08:42 AM) *
No way! I'm wanting to put my z back to use too.

Of course I forgot my root password too. Can you remind me to reset that?

Thanks.

Edit: I am using cacko "katherine".


I'm not familiar with cacko. Can you boot into single user mode and reset the password there?
Go to the top of the page
 
+Quote Post
ArchiMark
post Apr 14 2014, 07:13 AM
Post #30





Group: Members
Posts: 1,036
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Hi Wario,

For cacko related info, you should search on the cacko forum section.... wink.gif

Your other option is to reflash cacko, then follow OpenBSD on Zaurus instructions and then you can join Tim and I in our 'OpenBSD on Zaurus' adventures....

smile.gif
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 2nd September 2015 - 01:47 PM