=== doko_ [n=doko@dslb-088-073-105-239.pools.arcor-ip.net] has joined #ubuntu-toolchain === lamont [i=lamont@nat/hp/x-af70afb15a836fb9] has joined #ubuntu-toolchain === Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-toolchain [11:50] doko_: ping? [11:51] fabbione: pong [11:51] doko_: assuming i want to bootstrap a new architecture (supported by gcc), where can i change the default settings? like -mcpu -mtune and set -64 by default? [11:52] sparc64-linux? [11:53] kinda [11:53] it's just for pure fun [11:54] but i don't want to spend a lifetime digging into each package [11:54] there are configure parameters --with-tune and --with-arch (--with-cpu), but these don't work well with biarch [11:55] it's in debian/rules2 [11:55] nah i don't want bi-arch.. just pure64 [11:55] ok thanks [11:56] well, then configure for sparc64-linux, and use gcc -m64 as the stage1 compiler [11:57] ok thanks [12:01] use of the --with-tune --with-arch should be unproblematic then. not sure where you find the correct system headers; maybe you need som part of the multiarch-include stuff [12:08] that's what i am looking at [12:08] because i am not sure how make is going to react if i add a sparc64 arch [12:08] given the amount of conversions and mappings between sparc/sparc64 [12:16] or just build a cross toolchain, thiemo did update a script, some mail sent to debian-gcc ... [12:18] doko_: that's an option too, but if i will do something, i might as well do it the debian way and get all the patches saved and ready for upload [12:27] Keybuk: how bad can dpkg break if i temporary disable selinux support? [12:29] fabbione: not at all? [12:30] Keybuk: ok.. i am just trying to build dpkg at 64bit on sparc but there is no selinux64 yet [01:12] dpkg -p dselect |grep Depends [01:12] Depends: lib64gcc1 (>= 1:4.1.1-12), lib64ncurses5 (>= 5.4-5), lib64stdc++6 (>= 4.1.1-12), libc6-sparc64 (>= 2.4-1), dpkg (>= 1.13.1) [01:12] scary :) [01:12] but it works === Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-toolchain [02:24] GCC_TARGET=sparc64 ./debian/rules printarch [02:24] DEB_TARGET_ARCH: sparc64 [02:24] DEB_TARGET_ARCH_OS: linux [02:24] DEB_TARGET_ARCH_CPU: sparc64 [02:24] DEB_TARGET_ARCH_CPU: sparc64 [02:24] DEB_TARGET_GNU_SYSTEM: linux-gnu [02:24] TARGET_ALIAS: sparc64-linux-gnu [02:24] TP: sparc64-linux-gnu- [02:24] TS: -sparc64-linux-gnu [02:24] doko_: ^^ [02:25] clearly it doesn't fix the packaging issues, but that should be enough to start building gcc i guess [02:26] Keybuk: if i am not mistaken to add sparc64.deb to dpkg it's enough to add it to the cputable and archtable, right? [02:26] or do i need more hacking? [02:26] adding it to cputable would break sparc [02:27] there is no archtable [02:27] there's debian/archtable, but that's just documentation [02:28] you'd have to remove the assumption that sparc64 == sparc [02:28] why would it break sparc? i don't know all dpkg internal.. so it might sounds like a lame question [02:28] is that assumption coded somewhere? [02:28] in cputable [02:28] sparc sparc sparc(64)? [02:28] sparc64 sparc64 sparc64 [02:28] that wouldn't work [02:29] you need to remove the "(64)?" from the first line [02:29] so the sparc(64)? should be just sparc [02:29] right [02:29] yeah [02:29] would that be enough? [02:29] and that would cause the sparc64 dpkg to only install sparc64 debs [02:29] and the sparc dpkg to only install sparc debs [02:29] ok perfect [02:29] what does config.guess say on a sparc64 with a 32-bit userland? [02:29] (try it now) [02:30] ./config/config.guess [02:30] (who moved that?!) [02:30] it's building.. just one sec i will tell you [02:30] ./config/config.guess [02:30] sparc64-unknown-linux-gnu [02:30] BUT [02:30] be aware that i am forcing -m64 to CFLAGS and CXXFLAGS [02:31] let me try without [02:32] yeps [02:32] the same [02:45] Debian `dselect' package handling frontend version 1.13.22 (none-sparc64). [02:45] hmmm [02:45] that none-sparc64 doesn't look good :) === fabbione is a bit lost [03:02] fabbione: maybe look at the ppc64 port on alioth [03:03] doko_: i think i am just using the wrong approach.. i need to understand where to start [03:08] i find it hard to believe that they didn't patch gcc at all [03:14] dpkg-deb: building package `dpkg' in `../dpkg_1.13.22ubuntu7sparc64_sparc64.deb'. [03:14] there we go [03:15] much better :) === Keybuk [n=scott@quest.netsplit.com] has joined #ubuntu-toolchain === rodarvus [n=rodarvus@ubuntu/member/rodarvus] has joined #ubuntu-toolchain === fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-toolchain === mdz [n=mdz@studiocity-motorola-bsr1-70-36-194-85.vnnyca.adelphia.net] has joined #ubuntu-toolchain === lamont [i=lamont@nat/hp/x-af70afb15a836fb9] has joined #ubuntu-toolchain