WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: submitqc on i686  (Read 2037 times)

Offline andyj

  • Hero Member
  • *****
  • Posts: 748
submitqc on i686
« on: February 27, 2016, 08: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: 307
    • the trombone analog
Re: submitqc on i686
« Reply #1 on: March 16, 2016, 03: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

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6839
Re: submitqc on i686
« Reply #2 on: March 16, 2016, 07: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: 307
    • the trombone analog
Re: submitqc on i686
« Reply #3 on: April 02, 2016, 06: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: 7003
    • My Community Forum
Re: submitqc on i686
« Reply #4 on: April 03, 2016, 10:42:54 AM »

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: 7003
    • My Community Forum
Re: submitqc on i686
« Reply #5 on: April 03, 2016, 10:48:44 AM »
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: 7003
    • My Community Forum
Re: submitqc on i686
« Reply #6 on: April 03, 2016, 11:17:00 AM »
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: 307
    • the trombone analog
Re: submitqc on i686
« Reply #7 on: April 03, 2016, 02:53:15 PM »


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

Ah - done deal! Thanks, bmarkus.

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 307
    • the trombone analog
Re: submitqc on i686
« Reply #8 on: April 03, 2016, 02: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

  • Full Member
  • ***
  • Posts: 197
Re: submitqc on i686
« Reply #9 on: October 07, 2019, 01: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