WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: submitqc on i686  (Read 7706 times)

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
submitqc on i686
« on: February 27, 2016, 11:37:37 AM »
@dentonlt: On my 32-bit platform submitqc requires --arch to check online repositories because my uname -m returns i686. Moving line 155 REPO_URL=... to after 180 (arch case) solves this problem. REPO_URL isn't referenced before line 180 so this shouldn't break 64 bit.  Also adding
Code: [Select]
armv7l) BASELIBS="$BASELIBS ld-linux-armhf.so.3 linux-vdso.so.1"; ARCH="armv7" ;;to the arch case should work for PI 2, but there isn't zsync or sstrip for armv7 for me to test it.

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
Re: submitqc on i686
« Reply #1 on: March 16, 2016, 06:40:09 AM »
Hi, andyj -

Argh - browsing the forum feed and just came across your post. So sorry for the slow response - just hadn't seen it!

ARCH to line 180: totally agree. REPO_URL is wrong unless ARCH is defined, so this was a bug regardless.

Thanks for the ARM details - I've added these and will resubmit. sstrip is unneeded after all - strip is in binutils. I've also added a test to bail out on zsync creation if on ARM. I'm not a Pi/ARM user ... can you or someone else comment on whether the zsync file is necessary for the ARM repo, and how it's made if so?

Cheers ~


Sent from my HTC_0P6B6 using Tapatalk


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: submitqc on i686
« Reply #2 on: March 16, 2016, 10:12:52 AM »
Hi dentonlt
Quote
sstrip is unneeded after all - strip is in binutils.
You get smaller binaries using  sstrip.

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
Re: submitqc on i686
« Reply #3 on: April 02, 2016, 09:52:43 AM »
Good to know re sstrip vs strip. I'll use the former where possible, else fall back onto strip (arm7).

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: submitqc on i686
« Reply #4 on: April 03, 2016, 01:42:54 PM »

can you or someone else comment on whether the zsync file is necessary for the ARM repo, and how it's made if so?


zsync file is not needed to submit, at server side it is created automatically for all architectures.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: submitqc on i686
« Reply #5 on: April 03, 2016, 01:48:44 PM »
there isn't zsync or sstrip for armv7 for me to test it.

zsync is part of base, see /usr/bin
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: submitqc on i686
« Reply #6 on: April 03, 2016, 02:17:00 PM »
Good to know re sstrip vs strip. I'll use the former where possible, else fall back onto strip (arm7).

sstrip.tcz added to 7.x armv6/armv7 repo
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
Re: submitqc on i686
« Reply #7 on: April 03, 2016, 05:53:15 PM »


Quote
sstrip.tcz added to 7.x armv6/armv7 repo

Ah - done deal! Thanks, bmarkus.

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
Re: submitqc on i686
« Reply #8 on: April 03, 2016, 05:54:19 PM »

can you or someone else comment on whether the zsync file is necessary for the ARM repo, and how it's made if so?


zsync file is not needed to submit, at server side it is created automatically for all architectures.
Thanks for this, too - I'll disable/cut that code in submitqc.

Sent from my HTC_0P6B6 using Tapatalk


Offline neonix

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 392
Re: submitqc on i686
« Reply #9 on: October 07, 2019, 04:17:38 PM »
I noticed that on system with i586 processor I get:
Code: [Select]
tc@box:/tmp$ /usr/local/bin/submitqc
submitqc: Unrecognized architecture 'i586'. See --help.
To make it work I have to use:
Code: [Select]
submitqc --arch=i686

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
Re: submitqc on i686
« Reply #10 on: December 23, 2020, 04:38:21 AM »
Argh, this is a really old thread ... @neonix, if you're still out there and wondering ...

Short version: submitqc looks for your architecture (uname -m) and matches that to the available TC repos. Admittedly, i686 falls back to x86.

Thanks for mentioning - I think I can just have i586 fall back to x86, also ... but I have to follow-up on how that fits the --libs checks. I'll add it to the to-do list.

Cheers ~

Online vinceASPECT

  • Hero Member
  • *****
  • Posts: 801
Re: submitqc on i686
« Reply #11 on: December 23, 2020, 05:14:46 AM »
HEllo Forum,

Think it goes

8086, ....286,....386,... 486DX... i586..... i686.... Pentium 1....., pent 2 ,...pent 3 ............ pent 4

ARm has 6 ,7 and 8's   neon 

thx

v


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11631
Re: submitqc on i686
« Reply #12 on: December 23, 2020, 09:44:13 AM »
Hi dentonlt
... I think I can just have i586 fall back to x86, also ...
I see that:
Code: [Select]
. /etc/init.d/tc-functionsis only executed when  -c/--color  is passed to submitqc. That's unfortunate since  tc-functions  has functions to deal with
Tinycore specific issues. By including it you would change this:
Code: [Select]
[ -z "$ARCH" ] && ARCH=$(uname -m)To this:
Code: [Select]
[ -z "$ARCH" ] && ARCH=$(getBuild)Now submitqc would not require an update if other architectures are added.

There is also a  getMirror()  function that returns the full URL matching your system.